Class TestEnvContributor
- java.lang.Object
-
- hudson.model.EnvironmentContributor
-
- de.tracetronic.jenkins.plugins.ecutest.env.TestEnvContributor
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class TestEnvContributor extends EnvironmentContributor
Contributor which adds various test related variables into the build environment variables.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.EnvironmentContributor
EnvironmentContributor.EnvVarsHtml
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFIX
Prefix for all build environment variables created by thisTestEnvContributor
.static String
TEST_DESCRIPTION
Build environment variable part for the test name.static String
TEST_FILE
Build environment variable part for the test file.static String
TEST_NAME
Build environment variable part for the test name.static String
TEST_REPORT
Build environment variable part for the test report directory.static String
TEST_RESULT
Build environment variable part for the test result.static String
TEST_RETVAL
Build environment variable part for the output parameter.static String
TEST_TBC
Build environment variable part for the test bench configuration.static String
TEST_TCF
Build environment variable part for the test configuration.static String
TEST_TIMEOUT
Build environment variable part for the timeout running the test.static String
TEST_TYPE
Build environment variable part for the test type.
-
Constructor Summary
Constructors Constructor Description TestEnvContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvironmentFor(Run r, EnvVars envs, TaskListener listener)
-
Methods inherited from class hudson.model.EnvironmentContributor
all, buildEnvironmentFor
-
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
Prefix for all build environment variables created by thisTestEnvContributor
.- See Also:
- Constant Field Values
-
TEST_NAME
public static final String TEST_NAME
Build environment variable part for the test name.- See Also:
- Constant Field Values
-
TEST_TYPE
public static final String TEST_TYPE
Build environment variable part for the test type.- See Also:
- Constant Field Values
-
TEST_DESCRIPTION
public static final String TEST_DESCRIPTION
Build environment variable part for the test name.- See Also:
- Constant Field Values
-
TEST_FILE
public static final String TEST_FILE
Build environment variable part for the test file.- See Also:
- Constant Field Values
-
TEST_TBC
public static final String TEST_TBC
Build environment variable part for the test bench configuration.- See Also:
- Constant Field Values
-
TEST_TCF
public static final String TEST_TCF
Build environment variable part for the test configuration.- See Also:
- Constant Field Values
-
TEST_REPORT
public static final String TEST_REPORT
Build environment variable part for the test report directory.- See Also:
- Constant Field Values
-
TEST_RESULT
public static final String TEST_RESULT
Build environment variable part for the test result.- See Also:
- Constant Field Values
-
TEST_TIMEOUT
public static final String TEST_TIMEOUT
Build environment variable part for the timeout running the test.- See Also:
- Constant Field Values
-
TEST_RETVAL
public static final String TEST_RETVAL
Build environment variable part for the output parameter.- See Also:
- Constant Field Values
-
-
Method Detail
-
buildEnvironmentFor
public void buildEnvironmentFor(@Nonnull Run r, @Nonnull EnvVars envs, @Nonnull TaskListener listener)
- Overrides:
buildEnvironmentFor
in classEnvironmentContributor
-
-