public class OpenShiftBuilder extends TimedOpenShiftBaseStep implements IOpenShiftBuilder
Modifier and Type | Class and Description |
---|---|
static class |
OpenShiftBuilder.DescriptorImpl |
ITimedOpenShiftPlugin.TimeoutUnit
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
protected String |
bldCfg |
protected String |
buildName |
protected String |
checkForTriggeredDeployments |
protected String |
commitID |
protected List<NameValuePair> |
envVars |
protected String |
showBuildLogs |
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 |
---|
OpenShiftBuilder(String bldCfg) |
Modifier and Type | Method and Description |
---|---|
String |
getBldCfg() |
String |
getBuildName() |
String |
getCheckForTriggeredDeployments() |
String |
getCommitID() |
List<NameValuePair> |
getEnv() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
Collection<? extends hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getShowBuildLogs() |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
void |
setBuildName(String buildName) |
void |
setCheckForTriggeredDeployments(String checkForTriggeredDeployments) |
void |
setCommitID(String commitID) |
void |
setEnv(List<NameValuePair> v) |
void |
setShowBuildLogs(String showBuildLogs) |
getWaitTime, getWaitUnit, setWaitTime, setWaitUnit
getApiURL, getAuth, getAuthToken, getBaseClassName, getNamespace, getVerbose, perform, perform, setApiURL, setAuth, setAuthToken, setNamespace, setVerbose
prepareInjector, start
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyEnvVars, coreLogic, getBldCfg, getBuildName, getBuildPodLogs, getCheckForTriggeredDeployments, getCommitID, getDisplayName, getGlobalTimeoutConfiguration, getShowBuildLogs, startBuild, waitOnBuild
getTimeout, getWaitTime, getWaitUnit
annotateJobInfoToResource, consolidateEnvVars, constructBuildUrl, didAllImagesChangeIfNeeded, didICTCauseDeployment, didImageChangeFromPreviousVersion, doesDCTriggerOnImageTag, doIt, doIt, doItCore, getApiURL, getApiURL, getAuth, getAuthToken, getAuthToken, getBaseClassName, getClient, getClient, getLatestReplicationController, getNamespace, getNamespace, getReplicationControllerState, getVerbose, getVerbose, httpGet, isBuildFinished, isBuildRunning, isDeployFinished, isReplicationControllerScaledAppropriately, setAuth, verifyBuild
getOverride, pruneKey
protected final String bldCfg
protected String commitID
protected String buildName
protected String showBuildLogs
protected String checkForTriggeredDeployments
protected List<NameValuePair> envVars
@DataBoundConstructor public OpenShiftBuilder(String bldCfg)
public String getCommitID()
getCommitID
in interface IOpenShiftBuilder
@DataBoundSetter public void setCommitID(String commitID)
public String getBuildName()
getBuildName
in interface IOpenShiftBuilder
@DataBoundSetter public void setBuildName(String buildName)
public String getShowBuildLogs()
getShowBuildLogs
in interface IOpenShiftBuilder
@DataBoundSetter public void setShowBuildLogs(String showBuildLogs)
public String getBldCfg()
getBldCfg
in interface IOpenShiftBuilder
public List<NameValuePair> getEnv()
getEnv
in interface IOpenShiftBuilder
@DataBoundSetter public void setEnv(List<NameValuePair> v)
public String getCheckForTriggeredDeployments()
getCheckForTriggeredDeployments
in interface IOpenShiftBuilder
@DataBoundSetter public void setCheckForTriggeredDeployments(String checkForTriggeredDeployments)
public boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
prebuild
in interface hudson.tasks.BuildStep
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
public Collection<? extends hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
getProjectActions
in interface hudson.tasks.BuildStep
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
Copyright © 2004-2020 Red Hat, Inc. All Rights Reserved.