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

Repository names missing in currentBuild.changeSets nor display in Change log page when using multiple repositories

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When checkouting multiple repositories in a pipeline with :

      dir('repo1') {
       git 'repo1'
      }
      dir('repo2') {
       git 'repo2'
      }
      

      the change page will display the commit messages of each repo, but without indicating at which repo belong the changes:

      Changes:
       1. Commit one
      
      Changes:
       1. Commit two
      

      It will be more informative to have something like:

      Changes in repo1:
       1. Commit one
      
      Changes in repo2:
       1. Commit two
      

      Additionally in groovy in the pipeline when accessing to the currentBuild.changeSets object, how to know the repository each change is related too ?

        Attachments

          Issue Links

            Activity

            jguigui Jean-Paul G created issue -
            jguigui Jean-Paul G made changes -
            Field Original Value New Value
            Description When checkouting multiple repositories in a pipeline with :
            {code}
            git 'repo1'
            git 'repo2'
            {code}

            the change page will display the commit messages of each repo, but without indicating at which repo belong the changes:
            {code}
            Changes:
             1. Commit one

            Changes:
             1. Commit two
            {code}

            It will be more informative to have something like:
            {code}
            Changes in repo1:
             1. Commit one

            Changes in repo2:
             1. Commit two
            {code}

            Additionally in groovy in the pipeline when accessing to the currentBuild.changeSets object, how to know the repository each change is related too ?
            When checkouting multiple repositories in a pipeline with :
            {code}
            dir('repo1') {
             git 'repo1'
            }
            dir('repo2') {
             git 'repo2'
            }
            {code}

            the change page will display the commit messages of each repo, but without indicating at which repo belong the changes:
            {code}
            Changes:
             1. Commit one

            Changes:
             1. Commit two
            {code}

            It will be more informative to have something like:
            {code}
            Changes in repo1:
             1. Commit one

            Changes in repo2:
             1. Commit two
            {code}

            Additionally in groovy in the pipeline when accessing to the currentBuild.changeSets object, how to know the repository each change is related too ?
            abayer Andrew Bayer made changes -
            Component/s git-plugin [ 15543 ]
            Component/s core [ 15593 ]
            Component/s pipeline [ 21692 ]
            achraf Achraf Ghabi made changes -
            Link This issue is related to JENKINS-40129 [ JENKINS-40129 ]
            tarungidwani Tarun Gidwani made changes -
            Link This issue is related to JENKINS-54868 [ JENKINS-54868 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jguigui Jean-Paul G
              Votes:
              14 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated: