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
Modifier and TypeClassDescriptionstatic final class
static class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAuth()
boolean
int
boolean
int
int
getJob()
int
boolean
Deprecated.Still there to allow old configuration (3.1.5 and below) to work.int
boolean
boolean
getToken()
boolean
boolean
boolean
boolean
boolean
void
setAbortTriggeredJob
(boolean abortTriggeredJob) void
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.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
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) 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:
start
in 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.
-