Better descriptions for jenkins.branch.BranchEventCause

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

XMLWordPrintable

      We want to display the hudson.model.CauseAction "short description" on the UI in Blue Ocean. However, the BranchEventCause has a pretty generic description that isn't meaningful to the user.

      Could we have a better cause description for the branch events?

      "Pull Request opened by i386" etc ?

      Example of current cause action as reported to Blue Ocean

      {
            "_class": "hudson.model.CauseAction",
            "_links": {
              "self": {
                "_class": "io.jenkins.blueocean.rest.hal.Link",
                "href": "/blue/rest/organizations/jenkins/pipelines/blueocean/branches/master/runs/655/cause/"
              }
            },
            "causes": [
              {
                "_class": "jenkins.branch.BranchEventCause",
                "shortDescription": "Branch event"
              }
            ],
            "urlName": "cause"
      }
      

            Assignee:
            Stephen Connolly
            Reporter:
            James Dumay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: