The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Build Token Trigger Plugin

buildTokenTrigger: Build Token Trigger

  • job : String
    The full name of the job. For example: rootJob, rootFolder/childJob, or rootFolder/childFolder/grandchildJob
  • credentialsId : String
    The credentials to trigger the job with. Only Jenkins Build Token credentials are supported and they must be for the same Jenkins URL that the job is being triggered on.
  • parameters
    • Type: java.util.Map<java.lang.String, java.lang.String>
  • delay : int (optional)
    Leave blank to use the job's default quiet period, otherwise specify the number of seconds to use as the quiet period when queuing the job.
  • ignoreMissing : boolean (optional)
    By default, if the target job cannot be found then the step will fail. When this option is selected the step will ignore a HTTP/404 response from the remote Jenkins and return about:missing
  • ignoreUnqueued : boolean (optional)
    By default, if the target job is not queued for execution then the step will fail. When this option is selected the step will ignore a HTTP/302 response from the remote Jenkins and return about:unqueued.
  • jenkinsUrl : String (optional)
    The URL of the remote Jenkins to trigger a job on. If left blank and this Jenkins has had its URL configured then the step will attempt to trigger on this Jenkins.

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.