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

Returning related triggered builds from Jenkins' REST API

    Details

    • Similar Issues:

      Description

      Currently, related triggered builds are displayed on the build page of a triggered build:

       

      However, I have some processing that could benefit from being able to read this information. Can we expose this in the output of the build REST API?

      Currently, this is all we get:

      {
        "_class" : "hudson.model.FreeStyleBuild",
        "actions" : [
          {
            "_class" : "hudson.model.CauseAction",
            "causes" : [
              {
                "_class" : "com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritCause",
                "shortDescription" : "Triggered by Gerrit: https://aa.bb.cc/c/repository-name/+/513530"
              }
            ]
          },
          { 

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              rsandell rsandell
              Reporter:
              dsoprea Dustin Oprea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: