Class MultiKubectlBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- jenkins.tasks.SimpleBuildWrapper
-
- org.jenkinsci.plugins.kubernetes.cli.MultiKubectlBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public class MultiKubectlBuildWrapper extends SimpleBuildWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiKubectlBuildWrapper.CleanupDisposer
static class
MultiKubectlBuildWrapper.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
-
-
Field Summary
Fields Modifier and Type Field Description List<KubectlCredential>
kubectlCredentials
Boolean
restrictKubeConfigAccess
-
Constructor Summary
Constructors Constructor Description MultiKubectlBuildWrapper(List<KubectlCredential> kubectlCredentials, Boolean restrictKubeConfigAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment)
-
Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, createLoggerDecorator, 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 Detail
-
kubectlCredentials
@DataBoundSetter public List<KubectlCredential> kubectlCredentials
-
restrictKubeConfigAccess
@DataBoundSetter public Boolean restrictKubeConfigAccess
-
-
Constructor Detail
-
MultiKubectlBuildWrapper
@DataBoundConstructor public MultiKubectlBuildWrapper(List<KubectlCredential> kubectlCredentials, Boolean restrictKubeConfigAccess)
-
-
Method Detail
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException
- Overrides:
setUp
in classSimpleBuildWrapper
- Throws:
IOException
InterruptedException
-
-