public class OpenShiftExec extends TimedOpenShiftBaseStep implements IOpenShiftExec, IOpenShiftApiObjHandler
Modifier and Type | Class and Description |
---|---|
static class |
OpenShiftExec.DescriptorImpl |
ITimedOpenShiftPlugin.TimeoutUnit
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
protected List<Argument> |
arguments |
protected String |
command |
protected String |
container |
protected String |
pod |
waitTime, waitUnit
apiURL, auth, authToken, namespace, verbose
DISPLAY_NAME
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 |
---|
OpenShiftExec(String apiURL,
String namespace,
String authToken,
String verbose,
String pod,
String container,
String command,
List<Argument> arguments,
String waitTime,
String waitUnit) |
Modifier and Type | Method and Description |
---|---|
List<Argument> |
getArguments() |
String |
getCommand() |
String |
getContainer() |
String |
getPod() |
getWaitTime, getWaitUnit
getApiURL, getAuth, getAuthToken, getBaseClassName, getNamespace, getVerbose, perform, perform, setAuth
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
coreLogic, getArguments, getClient, getCommand, getContainer, getDisplayName, getGlobalTimeoutConfiguration, getPod, onClose, onExecErr, onFailure, onOpen, onStdErr, onStdOut
getTimeout, getWaitTime, getWaitUnit
annotateJobInfoToResource, consolidateEnvVars, constructBuildUrl, didAllImagesChangeIfNeeded, didICTCauseDeployment, didImageChangeFromPreviousVersion, doesDCTriggerOnImageTag, doIt, doIt, doItCore, getApiURL, getApiURL, getAuth, getAuthToken, getAuthToken, getBaseClassName, getClient, getLatestReplicationController, getNamespace, getNamespace, getReplicationControllerState, getVerbose, getVerbose, httpGet, isBuildFinished, isBuildRunning, isDeployFinished, isReplicationControllerScaledAppropriately, setAuth, verifyBuild
getOverride, pruneKey
deleteAPIObjs, fetchApiJsonFromApiServer, hydrateJsonYaml, importJsonOfApiTypes, updateApiTypes
protected final String pod
protected final String container
protected final String command
public String getPod()
getPod
in interface IOpenShiftExec
public String getContainer()
getContainer
in interface IOpenShiftExec
public String getCommand()
getCommand
in interface IOpenShiftExec
public List<Argument> getArguments()
getArguments
in interface IOpenShiftExec
Copyright © 2004-2020 Red Hat, Inc. All Rights Reserved.