Class EnvContributor
java.lang.Object
hudson.model.EnvironmentContributor
org.jenkinsci.plugins.registry.notification.EnvContributor
- All Implemented Interfaces:
ExtensionPoint
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class EnvContributor
extends EnvironmentContributor
Provides environment variables to builds triggered by the plugin.
- Author:
- Robert Sandell <rsandell@cloudbees.com>.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildEnvironmentFor
(Run r, EnvVars envs, TaskListener listener) Methods inherited from class hudson.model.EnvironmentContributor
all, buildEnvironmentFor
-
Constructor Details
-
EnvContributor
public EnvContributor()
-
-
Method Details
-
buildEnvironmentFor
public void buildEnvironmentFor(@NonNull Run r, @NonNull EnvVars envs, @NonNull TaskListener listener) throws IOException, InterruptedException - Overrides:
buildEnvironmentFor
in classEnvironmentContributor
- Throws:
IOException
InterruptedException
-