public class SecretBuildWrapper extends BuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
SecretBuildWrapper.DescriptorImpl |
BuildWrapper.EnvironmentExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
SecretBuildWrapper(List<? extends MultiBinding<?>> bindings) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
decorateLogger(AbstractBuild build,
OutputStream logger) |
List<? extends MultiBinding<?>> |
getBindings() |
static Pattern |
getPatternForBuild(AbstractBuild<?,?> build)
Gets the
Pattern for the secret values for a given build, if that build has secrets defined. |
void |
makeSensitiveBuildVariables(AbstractBuild build,
Set<String> sensitiveVariables) |
protected Object |
readResolve() |
BuildWrapper.Environment |
setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
all, decorateLauncher, getProjectAction, getProjectActions, makeBuildVariables, preCheckout, setUpgetDescriptor@DataBoundConstructor public SecretBuildWrapper(List<? extends MultiBinding<?>> bindings)
@CheckForNull public static Pattern getPatternForBuild(@Nonnull 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(AbstractBuild build, OutputStream logger) throws IOException, InterruptedException, Run.RunnerAbortedException
decorateLogger in class BuildWrapperIOExceptionInterruptedExceptionRun.RunnerAbortedExceptionpublic BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
setUp in class BuildWrapperIOExceptionInterruptedExceptionpublic void makeSensitiveBuildVariables(AbstractBuild build, Set<String> sensitiveVariables)
makeSensitiveBuildVariables in class BuildWrapperprotected Object readResolve()
Copyright © 2016–2021. All rights reserved.