public abstract class OpenShiftBaseStep extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl implements jenkins.tasks.SimpleBuildStep, Serializable, IOpenShiftPlugin
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Modifier and Type | Field and Description |
|---|---|
protected String |
apiURL |
protected Auth |
auth |
protected String |
authToken |
protected String |
namespace |
protected String |
verbose |
ANNOTATION_FAILURE, BUILD_NUMBER, BUILD_URL_ANNOTATION, BUILD_URL_ENV_KEY, JOB_NAME, KUBERNETES_MASTER_ENV_KEY, KUBERNETES_SERVICE_HOST_ENV_KEY, KUBERNETES_SERVICE_PORT_ENV_KEY, NAMESPACE_ENV_VAR, NAMESPACE_FILE, NAMESPACE_SYNC_BUILD_CAUSE, STATE_CANCELLED, STATE_COMPLETE, STATE_ERROR, STATE_FAILED, STATE_RUNNING| Modifier | Constructor and Description |
|---|---|
protected |
OpenShiftBaseStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiURL() |
Auth |
getAuth() |
String |
getAuthToken() |
String |
getBaseClassName() |
String |
getNamespace() |
String |
getVerbose() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setApiURL(String apiURL) |
void |
setAuth(Auth auth) |
void |
setAuthToken(String authToken) |
void |
setNamespace(String namespace) |
void |
setVerbose(String verbose) |
prepareInjector, startclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectAction, getProjectActions, getRequiredMonitorService, prebuildannotateJobInfoToResource, consolidateEnvVars, constructBuildUrl, coreLogic, didAllImagesChangeIfNeeded, didICTCauseDeployment, didImageChangeFromPreviousVersion, doesDCTriggerOnImageTag, doIt, doIt, doItCore, getApiURL, getAuthToken, getClient, getClient, getDisplayName, getLatestReplicationController, getNamespace, getReplicationControllerState, getVerbose, httpGet, isBuildFinished, isBuildRunning, isDeployFinished, isReplicationControllerScaledAppropriately, verifyBuildgetOverride, pruneKeyprotected String apiURL
protected String namespace
protected String authToken
protected String verbose
protected transient Auth auth
public String getApiURL()
getApiURL in interface IOpenShiftPlugin@DataBoundSetter public void setApiURL(String apiURL)
public String getNamespace()
getNamespace in interface IOpenShiftPlugin@DataBoundSetter public void setNamespace(String namespace)
public String getAuthToken()
getAuthToken in interface IOpenShiftPlugin@DataBoundSetter public void setAuthToken(String authToken)
public String getVerbose()
getVerbose in interface IOpenShiftPlugin@DataBoundSetter public void setVerbose(String verbose)
public void setAuth(Auth auth)
setAuth in interface IOpenShiftPluginpublic Auth getAuth()
getAuth in interface IOpenShiftPluginpublic String getBaseClassName()
getBaseClassName in interface IOpenShiftPluginpublic void perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepIOExceptionInterruptedExceptionCopyright © 2004-2020 Red Hat, Inc. All Rights Reserved.