public class EnvInjectActionSetter extends Object implements Serializable
Constructor and Description |
---|
EnvInjectActionSetter(hudson.FilePath rootPath) |
Modifier and Type | Method and Description |
---|---|
void |
addEnvVarsToEnvInjectBuildAction(hudson.model.AbstractBuild<?,?> build,
Map<String,String> envMap)
Deprecated.
|
void |
addEnvVarsToRun(hudson.model.Run<?,?> run,
Map<String,String> envMap)
Adds EnvironmentVariables to the run.
|
public EnvInjectActionSetter(@CheckForNull hudson.FilePath rootPath)
@Deprecated public void addEnvVarsToEnvInjectBuildAction(@Nonnull hudson.model.AbstractBuild<?,?> build, @CheckForNull Map<String,String> envMap) throws org.jenkinsci.lib.envinject.EnvInjectException, IOException, InterruptedException
addEnvVarsToRun(hudson.model.Run, java.util.Map)
org.jenkinsci.lib.envinject.EnvInjectException
IOException
InterruptedException
public void addEnvVarsToRun(@Nonnull hudson.model.Run<?,?> run, @CheckForNull Map<String,String> envMap) throws org.jenkinsci.lib.envinject.EnvInjectException, IOException, InterruptedException
EnvInjectPluginAction
will be created on-demand.run
- RunenvMap
- Environment variables to be added or overriddenorg.jenkinsci.lib.envinject.EnvInjectException
- Injection failureIOException
- Remote operation failureInterruptedException
- Remote call is interruptedCopyright © 2016–2017. All rights reserved.