-
Improvement
-
Resolution: Unresolved
-
Trivial
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")
- is related to
-
JENKINS-47689 Repository names missing in currentBuild.changeSets nor display in Change log page when using multiple repositories
- Open
- relates to
-
JENKINS-39499 There is no way to set changeSet property of shared library checkout to false
- Resolved