Class BaseStep
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.openshift.jenkins.plugins.freestyle.BaseStep
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
- Direct Known Subclasses:
CreateStep,DeleteStep,RawStep,WatchStep
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static interfaceprotected static interfaceNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconsolidateEnvVars(TaskListener listener, AbstractBuild<?, ?> build, Launcher launcher) protected ClusterConfiggetCluster(Map<String, String> overrides) getClusterName(Map<String, String> overrides) getCredentialsId(Map<String, String> overrides) getLogLevel(Map<String, String> overrides) static StringgetOverride(String key, Map<String, String> overrides) getProject(Map<String, String> overrides) protected booleanstatic Stringprotected booleanrunOcCommand(AbstractBuild build, TaskListener listener, String verb, List verbArgs, List userArgs, List options, BaseStep.OcProcessRunner runner) voidsetAdvancedArguments(List<AdvancedArgument> advancedArguments) voidsetClusterName(String clusterName) voidsetCredentialsId(String credentialsId) voidsetLogLevel(String logLevel) voidsetProject(String project) protected booleanstandardRunOcCommand(AbstractBuild build, TaskListener listener, String verb, List verbArgs, List userArgs, List options) static booleanwithTempInput(String prefix, String content, BaseStep.WithTempInputRunnable runnable) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Field Details
-
DEFAULT_LOGLEVEL
- See Also:
-
-
Constructor Details
-
BaseStep
public BaseStep()
-
-
Method Details
-
setClusterName
-
getClusterName
-
getClusterName
-
setProject
-
getProject
-
getProject
-
getCredentialsId
-
getCredentialsId
-
setCredentialsId
-
getLogLevel
-
getLogLevel
-
isVerbose
protected boolean isVerbose() -
setLogLevel
-
getAdvancedArguments
-
setAdvancedArguments
-
getCluster
-
runOcCommand
protected boolean runOcCommand(AbstractBuild build, TaskListener listener, String verb, List verbArgs, List userArgs, List options, BaseStep.OcProcessRunner runner) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
standardRunOcCommand
protected boolean standardRunOcCommand(AbstractBuild build, TaskListener listener, String verb, List verbArgs, List userArgs, List options) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
consolidateEnvVars
protected Map<String,String> consolidateEnvVars(TaskListener listener, AbstractBuild<?, ?> build, Launcher launcher) -
pruneKey
-
getOverride
-
toList
-
withTempInput
public static boolean withTempInput(String prefix, String content, BaseStep.WithTempInputRunnable runnable) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-