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

Changelogs not displayed for Mercurial branch projects


    • Similar Issues:


      If you create a multibranch Pipeline using the Mercurial source, you expect noninitial builds of the branch projects to display changelogs from those branches. But they do not.

      The root cause seems to have been that MercurialSCM.getKey was overly specific, preventing the baseline from being passed from one build to the next in changelog calculation. Whereas for RevisionType.BRANCH the branch name ought to be included in the key, when MercurialSCMSource.build constructs a one-off MercurialSCM binding the revision number, it is inappropriate for the key to include the revision.

      Git was unaffected since it completely ignores baselines (sigh). Subversion was unaffected since getKey was already implemented to strip revisions from the URLs.


          Issue Links


            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 82 (Web Link)" [ 14536 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 172911 ] JNJira + In-Review [ 199357 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-33701 [ JENKINS-33701 ]


              • Assignee:
                jglick Jesse Glick
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created: