Class RemoteBuildPipelineStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.ParameterizedRemoteTrigger.pipeline.RemoteBuildPipelineStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class RemoteBuildPipelineStep
extends org.jenkinsci.plugins.workflow.steps.Step
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuth()booleanintbooleanintintgetJob()intbooleanDeprecated.Still there to allow old configuration (3.1.5 and below) to work.intbooleanbooleangetToken()booleanbooleanbooleanbooleanbooleanvoidsetAbortTriggeredJob(boolean abortTriggeredJob) voidvoidsetBlockBuildUntilComplete(boolean blockBuildUntilComplete) voidsetDisabled(boolean disabled) voidsetEnhancedLogging(boolean enhancedLogging) voidsetHttpGetReadTimeout(int readTimeout) voidsetHttpPostReadTimeout(int readTimeout) voidsetMaxConn(int maxConn) voidsetOverrideTrustAllCertificates(boolean overrideTrustAllCertificates) voidsetParameterFile(String parameterFile) Deprecated.Still there to allow old configuration (3.1.5 and below) to work.voidsetParameters(Object parameters) voidsetPollInterval(int pollInterval) voidsetPreventRemoteBuildQueue(boolean preventRemoteBuildQueue) voidsetRemoteJenkinsName(String remoteJenkinsName) voidsetRemoteJenkinsUrl(String remoteJenkinsUrl) voidsetShouldNotFailBuild(boolean shouldNotFailBuild) voidvoidsetTrustAllCertificates(boolean trustAllCertificates) voidsetUseCrumbCache(boolean useCrumbCache) voidsetUseJobInfoCache(boolean useJobInfoCache) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
RemoteBuildPipelineStep
-
-
Method Details
-
setAbortTriggeredJob
@DataBoundSetter public void setAbortTriggeredJob(boolean abortTriggeredJob) -
setMaxConn
@DataBoundSetter public void setMaxConn(int maxConn) -
setAuth
-
setRemoteJenkinsName
-
setRemoteJenkinsUrl
-
setShouldNotFailBuild
@DataBoundSetter public void setShouldNotFailBuild(boolean shouldNotFailBuild) -
setTrustAllCertificates
@DataBoundSetter public void setTrustAllCertificates(boolean trustAllCertificates) -
setOverrideTrustAllCertificates
@DataBoundSetter public void setOverrideTrustAllCertificates(boolean overrideTrustAllCertificates) -
setPreventRemoteBuildQueue
@DataBoundSetter public void setPreventRemoteBuildQueue(boolean preventRemoteBuildQueue) -
setHttpGetReadTimeout
@DataBoundSetter public void setHttpGetReadTimeout(int readTimeout) -
setHttpPostReadTimeout
@DataBoundSetter public void setHttpPostReadTimeout(int readTimeout) -
setPollInterval
@DataBoundSetter public void setPollInterval(int pollInterval) -
setBlockBuildUntilComplete
@DataBoundSetter public void setBlockBuildUntilComplete(boolean blockBuildUntilComplete) -
setToken
-
setParameters
- Throws:
AbortException
-
setParameterFile
Deprecated.Still there to allow old configuration (3.1.5 and below) to work. UsesetParameters(Object)instead now.- Parameters:
parameterFile- The parameter file.
-
setEnhancedLogging
@DataBoundSetter public void setEnhancedLogging(boolean enhancedLogging) -
setUseJobInfoCache
@DataBoundSetter public void setUseJobInfoCache(boolean useJobInfoCache) -
setUseCrumbCache
@DataBoundSetter public void setUseCrumbCache(boolean useCrumbCache) -
setDisabled
@DataBoundSetter public void setDisabled(boolean disabled) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-
getRemoteJenkinsName
-
getRemoteJenkinsUrl
-
getJob
-
getShouldNotFailBuild
public boolean getShouldNotFailBuild() -
getTrustAllCertificates
public boolean getTrustAllCertificates() -
getOverrideTrustAllCertificates
public boolean getOverrideTrustAllCertificates() -
getPreventRemoteBuildQueue
public boolean getPreventRemoteBuildQueue() -
getHttpGetReadTimeout
public int getHttpGetReadTimeout() -
getHttpPostReadTimeout
public int getHttpPostReadTimeout() -
getPollInterval
public int getPollInterval() -
getBlockBuildUntilComplete
public boolean getBlockBuildUntilComplete() -
getToken
-
getParameters
-
getEnhancedLogging
public boolean getEnhancedLogging() -
getConnectionRetryLimit
public int getConnectionRetryLimit() -
isUseCrumbCache
public boolean isUseCrumbCache() -
isUseJobInfoCache
public boolean isUseJobInfoCache() -
isAbortTriggeredJob
public boolean isAbortTriggeredJob() -
getMaxConn
public int getMaxConn() -
getAuth
-
isDisabled
public boolean isDisabled() -
getParameterFile
Deprecated.Still there to allow old configuration (3.1.5 and below) to work. UsegetParameters()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.- Returns:
- Path of the parameter file.
-