Package com.thycotic.secrets.jenkins
Class VaultBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- jenkins.tasks.SimpleBuildWrapper
-
- com.thycotic.secrets.jenkins.VaultBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public class VaultBuildWrapper extends SimpleBuildWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VaultBuildWrapper.DescriptorImpl
-
Nested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.Disposer
-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description VaultBuildWrapper(List<VaultSecret> secrets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleLogFilter
createLoggerDecorator(Run<?,?> build)
List<VaultSecret>
getSecrets()
void
setSecrets(List<VaultSecret> secrets)
void
setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment)
-
Methods inherited from class jenkins.tasks.SimpleBuildWrapper
decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, runPreCheckout, setUp
-
Methods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUp
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
VaultBuildWrapper
@DataBoundConstructor public VaultBuildWrapper(List<VaultSecret> secrets)
-
-
Method Detail
-
getSecrets
public List<VaultSecret> getSecrets()
-
setSecrets
@DataBoundSetter public void setSecrets(List<VaultSecret> secrets)
-
createLoggerDecorator
public ConsoleLogFilter createLoggerDecorator(Run<?,?> build)
- Overrides:
createLoggerDecorator
in classSimpleBuildWrapper
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException
- Specified by:
setUp
in classSimpleBuildWrapper
- Throws:
IOException
InterruptedException
-
-