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

ghprb - Allow downstream jobs to add GitHub status messages

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently the GHPRB allows you to add a custom GitHub status and context to the job which performs the pull request. We need a way to allow downstream jobs to also add a context and status to the same pull request.

      To accomplish this a checkbox is added to the "Build Environment" area of a Jenkins Job that says "Set build status for Github Pull Request". It should grab the pull request from the upstream job and allow the downstream job to attach a custom status message and context.

        Attachments

          Activity

          Hide
          kevinsuwala Kevin Suwala added a comment -

          Proposed improvement can be found here: https://github.com/jenkinsci/ghprb-plugin/pull/164

          Show
          kevinsuwala Kevin Suwala added a comment - Proposed improvement can be found here: https://github.com/jenkinsci/ghprb-plugin/pull/164
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kevin Suwala
          Path:
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbBuilds.java
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbCustomStatus.java
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbCustomStatusListener.java
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbCustomStatusRepoPasser.java
          src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java
          src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/config.jelly
          src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/help-context.html
          src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/help-message.html
          src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/help.html
          http://jenkins-ci.org/commit/ghprb-plugin/9470f35cc66ab4beefa83e885c26b0923da4a88a
          Log:
          JENKINS-30115 Allow downstream jobs to attach GitHub status messages to pulled repo

          • Added support for GitHub contexts and messages to be added from downstream jobs
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kevin Suwala Path: src/main/java/org/jenkinsci/plugins/ghprb/GhprbBuilds.java src/main/java/org/jenkinsci/plugins/ghprb/GhprbCustomStatus.java src/main/java/org/jenkinsci/plugins/ghprb/GhprbCustomStatusListener.java src/main/java/org/jenkinsci/plugins/ghprb/GhprbCustomStatusRepoPasser.java src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/config.jelly src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/help-context.html src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/help-message.html src/main/resources/org/jenkinsci/plugins/ghprb/GhprbCustomStatus/help.html http://jenkins-ci.org/commit/ghprb-plugin/9470f35cc66ab4beefa83e885c26b0923da4a88a Log: JENKINS-30115 Allow downstream jobs to attach GitHub status messages to pulled repo Added support for GitHub contexts and messages to be added from downstream jobs
          Hide
          eriten Eric Tam added a comment -

          I think this ticket can be resolved as it's fixed by David Tanner in https://github.com/jenkinsci/ghprb-plugin/pull/180

          Show
          eriten Eric Tam added a comment - I think this ticket can be resolved as it's fixed by David Tanner in https://github.com/jenkinsci/ghprb-plugin/pull/180

            People

            Assignee:
            kevinsuwala Kevin Suwala
            Reporter:
            kevinsuwala Kevin Suwala
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: