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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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 ?

            Assignee:
            Unassigned
            Reporter:
            Jean-Paul G
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: