Class RemoteBuildResultEnvironmentContributor

java.lang.Object
hudson.model.EnvironmentContributor
io.jenkins.plugins.remote.result.trigger.RemoteBuildResultEnvironmentContributor
All Implemented Interfaces:
ExtensionPoint

@Extension public class RemoteBuildResultEnvironmentContributor extends EnvironmentContributor
Remote Env Set
Author:
HW
  • 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:
      buildEnvironmentFor in class EnvironmentContributor
      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