Extend GitChangeSet to get the repository name

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

      By using a global shared library for Pipeline jobs, rawBuild.changeSets on the current build will contain the changes of the global shared library and the repository that is used for building. To better distinguish between theses to sources, it would be great to have a variable to obtain the repository.

      The GitChangeSet class does not provide any possibility to get repository information about the commit.

          currentBuild.rawBuild.changeSets.collect { cs ->
              cs.collect { entry ->
                  "* ${entry.author.fullName}: ${entry.msg}"
              }.join("\n")
          }.join("\n")
      

            Assignee:
            Unassigned
            Reporter:
            Arne Tempelhof
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: