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

Better descriptions for jenkins.branch.BranchEventCause

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Minor Minor
    • branch-api-plugin
    • None

      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"
      }
      

            stephenconnolly Stephen Connolly
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: