public class GerritDependencyAction extends InvisibleAction implements EnvironmentContributingAction
Constructor and Description |
---|
GerritDependencyAction(List<Run> runs)
Saves the important information about the parent runs to be persistent.
|
Modifier and Type | Method and Description |
---|---|
void |
buildEnvironment(Run<?,?> run,
EnvVars env)
The same as
buildEnvVars , but for Run. |
void |
buildEnvVars(AbstractBuild<?,?> build,
EnvVars env) |
getDisplayName, getIconFileName, getUrlName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getIconFileName, getUrlName
public void buildEnvironment(@Nonnull Run<?,?> run, @Nonnull EnvVars env)
buildEnvVars
, but for Run. Part of Core API since Jenkins 2.76.
See https://issues.jenkins-ci.org/browse/JENKINS-29537 for more details.buildEnvironment
in interface EnvironmentContributingAction
run
- The calling build.env
- Environment variables should be added to this map.public void buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
buildEnvVars
in interface EnvironmentContributingAction
Copyright © 2016–2019. All rights reserved.