public class RemoteBuildPipelineStep
extends org.jenkinsci.plugins.workflow.steps.Step
Modifier and Type | Class and Description |
---|---|
static class |
RemoteBuildPipelineStep.DescriptorImpl |
static class |
RemoteBuildPipelineStep.Execution |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
RemoteBuildPipelineStep(String job) |
Modifier and Type | Method and Description |
---|---|
Auth2 |
getAuth() |
boolean |
getBlockBuildUntilComplete() |
int |
getConnectionRetryLimit() |
boolean |
getEnhancedLogging() |
int |
getHttpGetReadTimeout() |
int |
getHttpPostReadTimeout() |
String |
getJob() |
int |
getMaxConn() |
boolean |
getOverrideTrustAllCertificates() |
String |
getParameterFile()
Deprecated.
Still there to allow old configuration (3.1.5 and below) to work.
Use
getParameters() instead
now. Without this getter, pipeline script generator throws a
exception, but we need to keep the backward compatibility of
`parameterFile`, so we add this getter back with null return
value. |
JobParameters |
getParameters() |
int |
getPollInterval() |
boolean |
getPreventRemoteBuildQueue() |
String |
getRemoteJenkinsName() |
String |
getRemoteJenkinsUrl() |
boolean |
getShouldNotFailBuild() |
String |
getToken() |
boolean |
getTrustAllCertificates() |
boolean |
isAbortTriggeredJob() |
boolean |
isDisabled() |
boolean |
isUseCrumbCache() |
boolean |
isUseJobInfoCache() |
void |
setAbortTriggeredJob(boolean abortTriggeredJob) |
void |
setAuth(Auth2 auth) |
void |
setBlockBuildUntilComplete(boolean blockBuildUntilComplete) |
void |
setDisabled(boolean disabled) |
void |
setEnhancedLogging(boolean enhancedLogging) |
void |
setHttpGetReadTimeout(int readTimeout) |
void |
setHttpPostReadTimeout(int readTimeout) |
void |
setMaxConn(int maxConn) |
void |
setOverrideTrustAllCertificates(boolean overrideTrustAllCertificates) |
void |
setParameterFile(String parameterFile)
Deprecated.
Still there to allow old configuration (3.1.5 and below) to work.
Use
setParameters(Object) instead
now. |
void |
setParameters(Object parameters) |
void |
setPollInterval(int pollInterval) |
void |
setPreventRemoteBuildQueue(boolean preventRemoteBuildQueue) |
void |
setRemoteJenkinsName(String remoteJenkinsName) |
void |
setRemoteJenkinsUrl(String remoteJenkinsUrl) |
void |
setShouldNotFailBuild(boolean shouldNotFailBuild) |
void |
setToken(String token) |
void |
setTrustAllCertificates(boolean trustAllCertificates) |
void |
setUseCrumbCache(boolean useCrumbCache) |
void |
setUseJobInfoCache(boolean useJobInfoCache) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
@DataBoundConstructor public RemoteBuildPipelineStep(String job)
@DataBoundSetter public void setAbortTriggeredJob(boolean abortTriggeredJob)
@DataBoundSetter public void setMaxConn(int maxConn)
@DataBoundSetter public void setAuth(Auth2 auth)
@DataBoundSetter public void setRemoteJenkinsName(String remoteJenkinsName)
@DataBoundSetter public void setRemoteJenkinsUrl(String remoteJenkinsUrl)
@DataBoundSetter public void setShouldNotFailBuild(boolean shouldNotFailBuild)
@DataBoundSetter public void setTrustAllCertificates(boolean trustAllCertificates)
@DataBoundSetter public void setOverrideTrustAllCertificates(boolean overrideTrustAllCertificates)
@DataBoundSetter public void setPreventRemoteBuildQueue(boolean preventRemoteBuildQueue)
@DataBoundSetter public void setHttpGetReadTimeout(int readTimeout)
@DataBoundSetter public void setHttpPostReadTimeout(int readTimeout)
@DataBoundSetter public void setPollInterval(int pollInterval)
@DataBoundSetter public void setBlockBuildUntilComplete(boolean blockBuildUntilComplete)
@DataBoundSetter public void setToken(String token)
@DataBoundSetter public void setParameters(Object parameters) throws AbortException
AbortException
@Deprecated @DataBoundSetter public void setParameterFile(String parameterFile)
setParameters(Object)
instead
now.parameterFile
- The parameter file.@DataBoundSetter public void setEnhancedLogging(boolean enhancedLogging)
@DataBoundSetter public void setUseJobInfoCache(boolean useJobInfoCache)
@DataBoundSetter public void setUseCrumbCache(boolean useCrumbCache)
@DataBoundSetter public void setDisabled(boolean disabled)
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
start
in class org.jenkinsci.plugins.workflow.steps.Step
Exception
public String getRemoteJenkinsName()
public String getRemoteJenkinsUrl()
public String getJob()
public boolean getShouldNotFailBuild()
public boolean getTrustAllCertificates()
public boolean getOverrideTrustAllCertificates()
public boolean getPreventRemoteBuildQueue()
public int getHttpGetReadTimeout()
public int getHttpPostReadTimeout()
public int getPollInterval()
public boolean getBlockBuildUntilComplete()
public String getToken()
public JobParameters getParameters()
public boolean getEnhancedLogging()
public int getConnectionRetryLimit()
public boolean isUseCrumbCache()
public boolean isUseJobInfoCache()
public boolean isAbortTriggeredJob()
public int getMaxConn()
public Auth2 getAuth()
public boolean isDisabled()
public String getParameterFile()
getParameters()
instead
now. Without this getter, pipeline script generator throws a
exception, but we need to keep the backward compatibility of
`parameterFile`, so we add this getter back with null return
value.Copyright © 2016–2023. All rights reserved.