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

Add support for triggering builds of Pipeline job type

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • build-flow-plugin
    • None
    • Jenkins 2.7.1
      Build Flow plugin 0.20
      Pipeline: Job 2.3

      We like to use the Build Flow plugin to orchestrate Pipeline jobs. Even though Pipeline job type is suppose to replace the Build Flow job, it does not do a good job in displaying a graph of downstream jobs involved as part of a build pipeline, therefore it's not useful when displaying complex orchestration.

      Right now when calling a job of type Pipeline, a JobNotFoundException gets thrown:

      com.cloudbees.plugins.flow.JobNotFoundException: Item pipeline-job not found (or isn't a job).
      

      Based on https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md, seems like possibly the references of AbstractProject should be updated to be Job and AbstractBuild should be updated to be Run to get it to work with Pipeline type jobs.

            Unassigned Unassigned
            jlin jlin
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: