Class SCMEnvironmentContributor
java.lang.Object
hudson.model.EnvironmentContributor
org.jenkinsci.plugins.workflow.job.SCMEnvironmentContributor
- All Implemented Interfaces:
ExtensionPoint
Binds SCM variables to the build environment.
Note that only the first checkout is bound in this way;
in general the return value of
SCMStep may be used.-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.EnvironmentContributor
EnvironmentContributor.EnvVarsHtmlNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvironmentFor(Run r, EnvVars envs, TaskListener listener) Methods inherited from class hudson.model.EnvironmentContributor
all, buildEnvironmentFor
-
Constructor Details
-
SCMEnvironmentContributor
public SCMEnvironmentContributor()
-
-
Method Details
-
buildEnvironmentFor
public void buildEnvironmentFor(Run r, EnvVars envs, TaskListener listener) throws IOException, InterruptedException - Overrides:
buildEnvironmentForin classEnvironmentContributor- Throws:
IOExceptionInterruptedException
-