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, start
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProjectAction, getProjectActions, getRequiredMonitorService, prebuild
annotateJobInfoToResource, consolidateEnvVars, constructBuildUrl, coreLogic, didAllImagesChangeIfNeeded, didICTCauseDeployment, didImageChangeFromPreviousVersion, doesDCTriggerOnImageTag, doIt, doIt, doItCore, getApiURL, getAuthToken, getClient, getClient, getDisplayName, getLatestReplicationController, getNamespace, getReplicationControllerState, getVerbose, httpGet, isBuildFinished, isBuildRunning, isDeployFinished, isReplicationControllerScaledAppropriately, verifyBuild
getOverride, pruneKey
protected 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 IOpenShiftPlugin
public Auth getAuth()
getAuth
in interface IOpenShiftPlugin
public String getBaseClassName()
getBaseClassName
in interface IOpenShiftPlugin
public void perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
perform
in interface hudson.tasks.BuildStep
IOException
InterruptedException
Copyright © 2004-2020 Red Hat, Inc. All Rights Reserved.