Class ToolEnvContributor
- java.lang.Object
-
- hudson.model.EnvironmentContributor
-
- de.tracetronic.jenkins.plugins.ecutest.env.ToolEnvContributor
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class ToolEnvContributor extends EnvironmentContributor
Contributor which adds various tool 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 thisToolEnvContributor
.static String
TOOL_DEBUG_MODE
Build environment variable part enabling the debug mode of the tool.static String
TOOL_INSTALL
Build environment variable part for the tool installation directory.static String
TOOL_LAST_TBC
Build environment variable part for the last loaded TBC file path.static String
TOOL_LAST_TCF
Build environment variable part for the last loaded TCF file path.static String
TOOL_NAME
Build environment variable part for the tool name.static String
TOOL_SETTINGS
Build environment variable part for the settings used by the tool.static String
TOOL_TIMEOUT
Build environment variable part for the timeout connection to the tool.static String
TOOL_VERSION
Build environment variable part for the tool name.static String
TOOL_WORKSPACE
Build environment variable part for the workspace used by the tool.
-
Constructor Summary
Constructors Constructor Description ToolEnvContributor()
-
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 thisToolEnvContributor
.- See Also:
- Constant Field Values
-
TOOL_NAME
public static final String TOOL_NAME
Build environment variable part for the tool name.- See Also:
- Constant Field Values
-
TOOL_VERSION
public static final String TOOL_VERSION
Build environment variable part for the tool name.- See Also:
- Constant Field Values
-
TOOL_INSTALL
public static final String TOOL_INSTALL
Build environment variable part for the tool installation directory.- See Also:
- Constant Field Values
-
TOOL_WORKSPACE
public static final String TOOL_WORKSPACE
Build environment variable part for the workspace used by the tool.- See Also:
- Constant Field Values
-
TOOL_SETTINGS
public static final String TOOL_SETTINGS
Build environment variable part for the settings used by the tool.- See Also:
- Constant Field Values
-
TOOL_TIMEOUT
public static final String TOOL_TIMEOUT
Build environment variable part for the timeout connection to the tool.- See Also:
- Constant Field Values
-
TOOL_DEBUG_MODE
public static final String TOOL_DEBUG_MODE
Build environment variable part enabling the debug mode of the tool.- See Also:
- Constant Field Values
-
TOOL_LAST_TBC
public static final String TOOL_LAST_TBC
Build environment variable part for the last loaded TBC file path.- See Also:
- Constant Field Values
-
TOOL_LAST_TCF
public static final String TOOL_LAST_TCF
Build environment variable part for the last loaded TCF file path.- See Also:
- Constant Field Values
-
-
Method Detail
-
buildEnvironmentFor
public void buildEnvironmentFor(@Nonnull Run r, @Nonnull EnvVars envs, @Nonnull TaskListener listener)
- Overrides:
buildEnvironmentFor
in classEnvironmentContributor
-
-