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
  • Constructor Details

    • RemoteBuildPipelineStep

      @DataBoundConstructor public RemoteBuildPipelineStep(String job)
  • Method Details

    • setAbortTriggeredJob

      @DataBoundSetter public void setAbortTriggeredJob(boolean abortTriggeredJob)
    • setMaxConn

      @DataBoundSetter public void setMaxConn(int maxConn)
    • setAuth

      @DataBoundSetter public void setAuth(Auth2 auth)
    • setRemoteJenkinsName

      @DataBoundSetter public void setRemoteJenkinsName(String remoteJenkinsName)
    • setRemoteJenkinsUrl

      @DataBoundSetter public void setRemoteJenkinsUrl(String remoteJenkinsUrl)
    • 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

      @DataBoundSetter public void setToken(String token)
    • setParameters

      @DataBoundSetter public void setParameters(Object parameters) throws AbortException
      Throws:
      AbortException
    • setParameterFile

      @Deprecated @DataBoundSetter public void setParameterFile(String parameterFile)
      Deprecated.
      Still there to allow old configuration (3.1.5 and below) to work. Use setParameters(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 class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception
    • getRemoteJenkinsName

      public String getRemoteJenkinsName()
    • getRemoteJenkinsUrl

      public String getRemoteJenkinsUrl()
    • getJob

      public String 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

      public String getToken()
    • getParameters

      public JobParameters 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

      public Auth2 getAuth()
    • isDisabled

      public boolean isDisabled()
    • getParameterFile

      public 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.
      Returns:
      Path of the parameter file.