Class RemoteBuildResultEnvironmentContributor
java.lang.Object
hudson.model.EnvironmentContributor
io.jenkins.plugins.remote.result.trigger.RemoteBuildResultEnvironmentContributor
- All Implemented Interfaces:
ExtensionPoint
Remote Env Set
- Author:
- HW
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.EnvironmentContributor
EnvironmentContributor.EnvVarsHtmlNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvironmentFor(Job j, EnvVars envs, TaskListener listener) Contributes environment variables used for a job.Methods inherited from class hudson.model.EnvironmentContributor
all, buildEnvironmentFor
-
Constructor Details
-
RemoteBuildResultEnvironmentContributor
public RemoteBuildResultEnvironmentContributor()
-
-
Method Details
-
buildEnvironmentFor
public void buildEnvironmentFor(@NonNull Job j, @NonNull EnvVars envs, @NonNull TaskListener listener) throws IOException, InterruptedException Contributes environment variables used for a job.This method can be called repeatedly for the same
Job, thus the computation of this method needs to be efficient.This method gets invoked concurrently for multiple
Jobs, so it must be concurrent-safe.- Overrides:
buildEnvironmentForin classEnvironmentContributor- Parameters:
j- Job for which some activities are launched.envs- Partially built environment variable map. Implementation of this method is expected to add additional variables here.listener- Connected to the build console. Can be used to report errors.- Throws:
IOExceptionInterruptedException- Since:
- 1.527
-