public class SecretBuildWrapper
extends hudson.tasks.BuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
SecretBuildWrapper.DescriptorImpl |
| Constructor and Description |
|---|
SecretBuildWrapper(List<? extends MultiBinding<?>> bindings) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
decorateLogger(hudson.model.AbstractBuild build,
OutputStream logger) |
List<? extends MultiBinding<?>> |
getBindings() |
static Pattern |
getPatternForBuild(hudson.model.AbstractBuild<?,?> build)
Gets the
Pattern for the secret values for a given build, if that build has secrets defined. |
void |
makeSensitiveBuildVariables(hudson.model.AbstractBuild build,
Set<String> sensitiveVariables) |
protected Object |
readResolve() |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor public SecretBuildWrapper(List<? extends MultiBinding<?>> bindings)
@CheckForNull public static Pattern getPatternForBuild(@Nonnull hudson.model.AbstractBuild<?,?> build)
Pattern for the secret values for a given build, if that build has secrets defined. If not, return
null.build - A non-null build.Pattern from the build's secret values, if the build has any.public List<? extends MultiBinding<?>> getBindings()
public OutputStream decorateLogger(hudson.model.AbstractBuild build, OutputStream logger) throws IOException, InterruptedException, hudson.model.Run.RunnerAbortedException
decorateLogger in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionhudson.model.Run.RunnerAbortedExceptionpublic hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
setUp in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionpublic void makeSensitiveBuildVariables(hudson.model.AbstractBuild build,
Set<String> sensitiveVariables)
makeSensitiveBuildVariables in class hudson.tasks.BuildWrapperprotected Object readResolve()
Copyright © 2016–2017. All rights reserved.