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

PullRequestSCMHead and PullRequestSCMRevision external use

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      While working on an extension filter plugin for GitHub PR labels which adds an SCMHeadEvent implementation I noticed that the constructors for PullRequestSCMHead and PullRequestSCMRevision were package private. Using more generic classes, the scm source rejects the heads returned by the event and so the subscriber cannot operate. A locally modified version of GHBS with public constructors allowed the new plugin to work correctly.

      Discussion at https://groups.google.com/forum/#!topic/jenkinsci-dev/bLoYi3munDw

       

       

        Attachments

          Activity

          Hide
          duemir Denys Digtiar added a comment -

          Release notes say this was released in Version 2.4.0
          https://plugins.jenkins.io/github-branch-source

          Show
          duemir Denys Digtiar added a comment - Release notes say this was released in Version 2.4.0 https://plugins.jenkins.io/github-branch-source

            People

            • Assignee:
              Unassigned
              Reporter:
              stevenfoster Steven Foster
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: