public class OpenShiftBuildCanceller extends OpenShiftBasePostAction
Modifier and Type | Class and Description |
---|---|
static class |
OpenShiftBuildCanceller.DescriptorImpl
Descriptor for
OpenShiftBuildCanceller . |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
protected String |
bldCfg |
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 |
---|
OpenShiftBuildCanceller(String apiURL,
String namespace,
String authToken,
String verbose,
String bldCfg) |
Modifier and Type | Method and Description |
---|---|
boolean |
coreLogic(hudson.Launcher launcher,
hudson.model.TaskListener listener,
Map<String,String> overrides) |
String |
getBldCfg() |
String |
getBldCfg(Map<String,String> overrides) |
OpenShiftBuildCanceller.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 bldCfg
public String getDisplayName()
public String getBldCfg()
public boolean coreLogic(hudson.Launcher launcher, hudson.model.TaskListener listener, Map<String,String> overrides)
public OpenShiftBuildCanceller.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.