public class GerritDependencyAction
extends hudson.model.InvisibleAction
implements hudson.model.EnvironmentContributingAction
Constructor and Description |
---|
GerritDependencyAction(List<hudson.model.Run> runs)
Saves the important information about the parent runs to be persistent.
|
Modifier and Type | Method and Description |
---|---|
void |
buildEnvironment(hudson.model.Run<?,?> run,
hudson.EnvVars env)
The same as
buildEnvVars , but for Run. |
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
hudson.EnvVars env) |
getDisplayName, getIconFileName, getUrlName
public GerritDependencyAction(List<hudson.model.Run> runs)
runs
- List of runs it depend onpublic void buildEnvironment(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.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 hudson.model.EnvironmentContributingAction
run
- The calling build.env
- Environment variables should be added to this map.public void buildEnvVars(hudson.model.AbstractBuild<?,?> build, hudson.EnvVars env)
buildEnvVars
in interface hudson.model.EnvironmentContributingAction
Copyright © 2016–2020. All rights reserved.