Package com.datapipe.jenkins.vault
Class VaultBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
jenkins.tasks.SimpleBuildWrapper
com.datapipe.jenkins.vault.VaultBuildWrapper
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
-
Nested Class Summary
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateLoggerDecorator
(Run<?, ?> build) protected void
provideEnvironmentVariablesFromVault
(SimpleBuildWrapper.Context context, Run build, EnvVars envVars) void
setConfiguration
(VaultConfiguration configuration) void
setUp
(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) void
setVaultAccessor
(VaultAccessor vaultAccessor) Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUp
Methods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUp
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
logger
-
-
Constructor Details
-
VaultBuildWrapper
-
-
Method Details
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) - Overrides:
setUp
in classSimpleBuildWrapper
-
getVaultSecrets
-
setConfiguration
-
getConfiguration
-
setVaultAccessor
-
provideEnvironmentVariablesFromVault
protected void provideEnvironmentVariablesFromVault(SimpleBuildWrapper.Context context, Run build, EnvVars envVars) -
createLoggerDecorator
- Overrides:
createLoggerDecorator
in classSimpleBuildWrapper
-