Package io.jenkins.plugins.ksm.builder
Class KsmBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- io.jenkins.plugins.ksm.builder.KsmBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public class KsmBuildWrapper extends BuildWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KsmBuildWrapper.DescriptorImpl
-
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 KsmBuildWrapper(List<KsmApplication> application)
KsmBuildWrapper(List<KsmApplication> application, KsmNotation notation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
decorateLogger(AbstractBuild build, OutputStream logger)
List<KsmApplication>
getApplication()
KsmNotation
getNotation()
protected void
getSecrets(Job job)
void
makeSensitiveBuildVariables(AbstractBuild build, Set<String> sensitiveVariables)
BuildWrapper.Environment
setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, getProjectAction, getProjectActions, makeBuildVariables, preCheckout, setUp
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
KsmBuildWrapper
@DataBoundConstructor public KsmBuildWrapper(List<KsmApplication> application)
-
KsmBuildWrapper
public KsmBuildWrapper(List<KsmApplication> application, KsmNotation notation)
-
-
Method Detail
-
getApplication
public List<KsmApplication> getApplication()
-
getNotation
public KsmNotation getNotation()
-
getSecrets
protected void getSecrets(Job job)
-
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
- Overrides:
setUp
in classBuildWrapper
- Throws:
IOException
InterruptedException
-
makeSensitiveBuildVariables
public void makeSensitiveBuildVariables(AbstractBuild build, Set<String> sensitiveVariables)
- Overrides:
makeSensitiveBuildVariables
in classBuildWrapper
-
decorateLogger
public OutputStream decorateLogger(AbstractBuild build, OutputStream logger) throws IOException, InterruptedException, Run.RunnerAbortedException
- Overrides:
decorateLogger
in classBuildWrapper
- Throws:
IOException
InterruptedException
Run.RunnerAbortedException
-
-