Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41466

Return triggered job info

XMLWordPrintable

      I've tried the following:

      def b = build job: 'Long-running job', propagate: false, wait: false
      
      echo b
      

      which echoes null

      It would be great if we could return some info about the triggered build. What I'm interested in specifically is build number, which will then be passed to another job. However, for various reasons I can't wait for the triggered job.

            Unassigned Unassigned
            erik_hakansson Erik Hakansson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: