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

PullRequestSCMHead and PullRequestSCMRevision external use

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Github Branch Source 2.3.3

      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

       

       

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

              Created:
              Updated:
              Resolved: