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.EnvVarsHtml
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildEnvironmentFor
(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
Job
s, so it must be concurrent-safe.- Overrides:
buildEnvironmentFor
in 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:
IOException
InterruptedException
- Since:
- 1.527
-