public class OpenShiftDeployCanceller extends OpenShiftBasePostAction
Modifier and Type | Class and Description |
---|---|
static class |
OpenShiftDeployCanceller.DescriptorImpl
Descriptor for
OpenShiftDeployCanceller . |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
protected String |
depCfg |
protected static String |
DISPLAY_NAME |
apiURL, auth, authToken, namespace, 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 |
---|
OpenShiftDeployCanceller(String apiURL,
String depCfg,
String namespace,
String authToken,
String verbose) |
Modifier and Type | Method and Description |
---|---|
boolean |
coreLogic(hudson.Launcher launcher,
hudson.model.TaskListener listener,
Map<String,String> overrides) |
String |
getDepCfg() |
String |
getDepCfg(Map<String,String> overrides) |
OpenShiftDeployCanceller.DescriptorImpl |
getDescriptor() |
String |
getDisplayName() |
getApiURL, getAuth, getAuthToken, getBaseClassName, getNamespace, getRequiredMonitorService, getVerbose, needsToRunAfterFinalized, perform, perform, setAuth
getProjectAction, getProjectActions, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProjectAction, getProjectActions, prebuild
annotateJobInfoToResource, consolidateEnvVars, constructBuildUrl, didAllImagesChangeIfNeeded, didICTCauseDeployment, didImageChangeFromPreviousVersion, doesDCTriggerOnImageTag, doIt, doIt, doItCore, getApiURL, getAuthToken, getClient, getClient, getLatestReplicationController, getNamespace, getReplicationControllerState, getVerbose, httpGet, isBuildFinished, isBuildRunning, isDeployFinished, isReplicationControllerScaledAppropriately, verifyBuild
getOverride, pruneKey
protected static final String DISPLAY_NAME
protected final String depCfg
public String getDisplayName()
public String getDepCfg()
public boolean coreLogic(hudson.Launcher launcher, hudson.model.TaskListener listener, Map<String,String> overrides)
public OpenShiftDeployCanceller.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
Copyright © 2004-2020 Red Hat, Inc. All Rights Reserved.