Class EnvInjectActionSetter
java.lang.Object
org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter
- All Implemented Interfaces:
Serializable
- Author:
- Gregory Boissinot
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEnvVarsToEnvInjectBuildAction
(AbstractBuild<?, ?> build, Map<String, String> envMap) Deprecated.void
addEnvVarsToRun
(Run<?, ?> run, Map<String, String> envMap) Adds EnvironmentVariables to the run.
-
Constructor Details
-
EnvInjectActionSetter
-
-
Method Details
-
addEnvVarsToEnvInjectBuildAction
@Deprecated public void addEnvVarsToEnvInjectBuildAction(@NonNull AbstractBuild<?, ?> build, @CheckForNull Map<String, throws org.jenkinsci.lib.envinject.EnvInjectException, IOException, InterruptedExceptionString> envMap) Deprecated.- Throws:
org.jenkinsci.lib.envinject.EnvInjectException
IOException
InterruptedException
-
addEnvVarsToRun
public void addEnvVarsToRun(@NonNull Run<?, ?> run, @CheckForNull Map<String, throws org.jenkinsci.lib.envinject.EnvInjectException, IOException, InterruptedExceptionString> envMap) Adds EnvironmentVariables to the run.EnvInjectPluginAction
will be created on-demand.- Parameters:
run
- RunenvMap
- Environment variables to be added or overridden- Throws:
org.jenkinsci.lib.envinject.EnvInjectException
- Injection failureIOException
- Remote operation failureInterruptedException
- Remote call is interrupted- Since:
- 2.1
-
addEnvVarsToRun(hudson.model.Run, java.util.Map)