Details

    • Similar Issues:

      Description

      This is mostly useful when using the "Multiple SCMs" plugin, since a build may be triggered by changes in one or more distinct SCM branches. Currently, the change set list shows all commits in one list, and does not indicate where the commit originated. For the vast majority of build configurations, this would then start showing "Commit abcd123.. in origin/master by John Doe" – however if you use Multiple SCMs, or if you have configured the job to build all branches ("**"), the current list would not indicate where the commit came from.

      I'm submitting a pull request that will add the "in ${cs.branch}" text to the change set log, if the branch is available.

        Attachments

          Activity

          jhansche Joe Hansche created issue -
          Hide
          jhansche Joe Hansche added a comment -
          Show
          jhansche Joe Hansche added a comment - Pull request submitted: https://github.com/jenkinsci/git-plugin/pull/76
          jhansche Joe Hansche made changes -
          Field Original Value New Value
          Assignee Joe Hansche [ jhansche ] Nicolas De Loof [ ndeloof ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Joe Hansche
          Path:
          src/main/java/hudson/plugins/git/GitChangeSet.java
          src/main/resources/hudson/plugins/git/GitChangeSetList/index.jelly
          http://jenkins-ci.org/commit/git-plugin/305eb619fbe9d0229c54267473409907637e5ecf
          Log:
          [FIXED JENKINS-14350] Adds branch information to the change set log

          In the ChangeSetList screen (${BUILD_URL}/changes), if a branch was
          discovered in the SCM changelog, display the branch name in the changeset
          detail.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Joe Hansche Path: src/main/java/hudson/plugins/git/GitChangeSet.java src/main/resources/hudson/plugins/git/GitChangeSetList/index.jelly http://jenkins-ci.org/commit/git-plugin/305eb619fbe9d0229c54267473409907637e5ecf Log: [FIXED JENKINS-14350] Adds branch information to the change set log In the ChangeSetList screen (${BUILD_URL}/changes), if a branch was discovered in the SCM changelog, display the branch name in the changeset detail.
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144982 ] JNJira + In-Review [ 191288 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              jhansche Joe Hansche
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: