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

Trigger jobs in build pipeline plugin using REST api

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • build-pipeline-plugin
    • None
    • Jenkins 1.593

      Hello,

      We are trying to trigger builds remotely using the REST api. Using the build pipeline plugin we can successfully trigger build jobs (first job in the pipeline). But there is a need to trigger downstream jobs and take the pipeline forward using the REST api.

      For Eg: Job A — build job
      Job B — deploy artifacts from job A to DEV environment
      Job C — deploy to QA

      All this using REST api in the build pipeline. This functionality would be very helpful and any help would be greatly appreciated.

      Currently the build pipeline plugin doesn't support triggering downstream build using REST api. Can this be achieved ?

      Thanks
      Ram

          [JENKINS-33053] Trigger jobs in build pipeline plugin using REST api

          There is a GSoC 2019 project that proposes to wrap a java jenkins-rest library in the form of a Jenkins plugin, would that be a viable solution? If you are interested please reach out on https://gitter.im/jenkinsci/gsoc-sig

          Martin d'Anjou added a comment - There is a GSoC 2019 project that proposes to wrap a java jenkins-rest library in the form of a Jenkins plugin , would that be a viable solution? If you are interested please reach out on https://gitter.im/jenkinsci/gsoc-sig

            Unassigned Unassigned
            ramnath Ramnath Ananth
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: