Returning related triggered builds from Jenkins' REST API

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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"
              }
            ]
          },
          { 

       

            Assignee:
            rsandell
            Reporter:
            Dustin Oprea
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: