public class OpenShiftImageTagger extends OpenShiftBaseStep implements IOpenShiftImageTagger
Modifier and Type | Class and Description |
---|---|
static class |
OpenShiftImageTagger.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected String |
destinationAuthToken |
protected String |
destinationNamespace |
protected String |
destStream |
protected String |
destTag |
protected String |
srcStream |
protected String |
srcTag |
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 |
---|
OpenShiftImageTagger(String srcStream,
String srcTag,
String destStream,
String destTag) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias() |
String |
getDestinationAuthToken() |
String |
getDestinationNamespace() |
String |
getDestStream() |
String |
getDestTag() |
String |
getProdStream()
Deprecated.
|
String |
getProdTag()
Deprecated.
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
Collection<? extends hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getSrcStream() |
String |
getSrcTag() |
String |
getTestStream()
Deprecated.
|
String |
getTestTag()
Deprecated.
|
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
void |
setAlias(String alias) |
void |
setDestinationAuthToken(String destinationAuthToken) |
void |
setDestinationNamespace(String destinationNamespace) |
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
coreLogic, deriveImageID, deriveImageTag, getAlias, getDestinationAuthToken, getDestinationNamespace, getDestStream, getDestTag, getDisplayName, getSrcStream, getSrcTag
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 srcTag
protected final String destTag
protected final String srcStream
protected final String destStream
protected String destinationNamespace
protected String destinationAuthToken
protected String alias
public String getAlias()
getAlias
in interface IOpenShiftImageTagger
@DataBoundSetter public void setAlias(String alias)
@Deprecated public String getTestTag()
public String getSrcTag()
getSrcTag
in interface IOpenShiftImageTagger
@Deprecated public String getProdTag()
public String getDestTag()
getDestTag
in interface IOpenShiftImageTagger
@Deprecated public String getTestStream()
public String getSrcStream()
getSrcStream
in interface IOpenShiftImageTagger
@Deprecated public String getProdStream()
public String getDestStream()
getDestStream
in interface IOpenShiftImageTagger
public String getDestinationNamespace()
getDestinationNamespace
in interface IOpenShiftImageTagger
@DataBoundSetter public void setDestinationNamespace(String destinationNamespace)
public String getDestinationAuthToken()
getDestinationAuthToken
in interface IOpenShiftImageTagger
@DataBoundSetter public void setDestinationAuthToken(String destinationAuthToken)
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.