public abstract class OpenShiftBaseStep extends hudson.tasks.Builder 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(String apiURL,
String namespace,
String authToken,
String verbose) |
| 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 |
setAuth(Auth auth) |
all, getDescriptor, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, prebuildclone, 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 final String apiURL
protected final String namespace
protected final String authToken
protected final String verbose
protected transient Auth auth
public String getApiURL()
getApiURL in interface IOpenShiftPluginpublic String getNamespace()
getNamespace in interface IOpenShiftPluginpublic String getAuthToken()
getAuthToken in interface IOpenShiftPluginpublic String getVerbose()
getVerbose in interface IOpenShiftPluginpublic 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.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionCopyright © 2004-2020 Red Hat, Inc. All Rights Reserved.