Class SecretBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper
- All Implemented Interfaces:
ExtensionPoint,Describable<BuildWrapper>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.EnvironmentNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecorateLogger(AbstractBuild build, OutputStream logger) List<? extends MultiBinding<?>>static PatterngetPatternForBuild(AbstractBuild<?, ?> build) Gets thePatternfor the secret values for a given build, if that build has secrets defined.voidmakeSensitiveBuildVariables(AbstractBuild build, Set<String> sensitiveVariables) protected ObjectsetUp(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, getProjectAction, getProjectActions, makeBuildVariables, preCheckout, setUpMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SecretBuildWrapper
-
-
Method Details
-
getPatternForBuild
Gets thePatternfor the secret values for a given build, if that build has secrets defined. If not, return null.- Parameters:
build- A non-null build.- Returns:
- A compiled
Patternfrom the build's secret values, if the build has any.
-
getBindings
-
decorateLogger
public OutputStream decorateLogger(AbstractBuild build, OutputStream logger) throws Run.RunnerAbortedException - Overrides:
decorateLoggerin classBuildWrapper- Throws:
Run.RunnerAbortedException
-
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException - Overrides:
setUpin classBuildWrapper- Throws:
IOExceptionInterruptedException
-
makeSensitiveBuildVariables
- Overrides:
makeSensitiveBuildVariablesin classBuildWrapper
-
readResolve
-