public abstract class OpenShiftBasePostAction extends hudson.tasks.Recorder implements jenkins.tasks.SimpleBuildStep, Serializable, IOpenShiftPlugin
hudson.tasks.Publisher.DescriptorExtensionListImpl
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
Constructor and Description |
---|
OpenShiftBasePostAction(String apiURL,
String namespace,
String authToken,
String verbose) |
Modifier and Type | Method and Description |
---|---|
String |
getApiURL() |
Auth |
getAuth() |
String |
getAuthToken() |
String |
getBaseClassName() |
String |
getNamespace() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getVerbose() |
boolean |
needsToRunAfterFinalized() |
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) |
getProjectAction, getProjectActions, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProjectAction, getProjectActions, 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 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 IOpenShiftPlugin
public String getNamespace()
getNamespace
in interface IOpenShiftPlugin
public String getAuthToken()
getAuthToken
in interface IOpenShiftPlugin
public String getVerbose()
getVerbose
in interface IOpenShiftPlugin
public void setAuth(Auth auth)
setAuth
in interface IOpenShiftPlugin
public Auth getAuth()
getAuth
in interface IOpenShiftPlugin
public String getBaseClassName()
getBaseClassName
in interface IOpenShiftPlugin
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized
in class hudson.tasks.Publisher
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
perform
in class hudson.tasks.BuildStepCompatibilityLayer
IOException
InterruptedException
Copyright © 2004-2020 Red Hat, Inc. All Rights Reserved.