Class EnvVarsForToolStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
-
- org.jenkinsci.plugins.pipeline.modeldefinition.steps.EnvVarsForToolStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,Serializable
public final class EnvVarsForToolStep extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl implements Serializable
An internal step used to take a tool descriptor ID and tool version and get the environment variables that tool installation would normally contribute, in aList<String>
of"VAR=VALUE"
s suitable for passing towithEnv
. Necessary to do this as aStep
so as to have access to the node, listener and environment.- Author:
- Andrew Bayer
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnvVarsForToolStep.DescriptorImpl
static class
EnvVarsForToolStep.EnvVarsForToolStepExecution
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description EnvVarsForToolStep(String toolId, String toolVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getToolId()
String
getToolVersion()
-