Class EnvInjectVariableGetter
java.lang.Object
org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@RestrictedSince("2.1")
public class EnvInjectVariableGetter
extends Object
Utility class for retrieving environment variables.
- Author:
- Gregory Boissinot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBuildVariables
(AbstractBuild build, org.jenkinsci.lib.envinject.EnvInjectLogger logger) Deprecated.Deprecated.getEnvVarsPreviousSteps
(AbstractBuild build, org.jenkinsci.lib.envinject.EnvInjectLogger logger) getJenkinsSystemEnvVars
(boolean forceOnMaster) getJenkinsSystemVariables
(boolean forceOnMaster) Deprecated.
-
Constructor Details
-
EnvInjectVariableGetter
Deprecated.
-
-
Method Details
-
getJenkinsSystemVariables
@NonNull @Deprecated public Map<String,String> getJenkinsSystemVariables(boolean forceOnMaster) throws IOException, InterruptedException Deprecated.- Throws:
IOException
InterruptedException
-
getJenkinsSystemEnvVars
@NonNull public static Map<String,String> getJenkinsSystemEnvVars(boolean forceOnMaster) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getBuildVariables
@Deprecated public Map<String,String> getBuildVariables(@NonNull AbstractBuild build, @NonNull org.jenkinsci.lib.envinject.EnvInjectLogger logger) throws org.jenkinsci.lib.envinject.EnvInjectException Deprecated.- Throws:
org.jenkinsci.lib.envinject.EnvInjectException
-
getEnvInjectJobProperty
@CheckForNull @Deprecated public EnvInjectJobProperty getEnvInjectJobProperty(@NonNull AbstractBuild build) Deprecated. -
getEnvVarsPreviousSteps
@NonNull @Deprecated public Map<String,String> getEnvVarsPreviousSteps(@NonNull AbstractBuild build, @NonNull org.jenkinsci.lib.envinject.EnvInjectLogger logger) throws IOException, InterruptedException, org.jenkinsci.lib.envinject.EnvInjectException Deprecated.- Throws:
IOException
InterruptedException
org.jenkinsci.lib.envinject.EnvInjectException
-
RunHelper.getBuildVariables(hudson.model.Run, hudson.EnvVars)