Looking for help to get the git change log since last successful build(including sub-modules) in Jenkins.The change log should contain only the merge commits.
Asked
Active
Viewed 154 times
1 Answers
0
You would need a groovy script used your Jenkins build (as in "How to get commits information on Jenkins using Groovy since last successful build?") in order to get the changet set for all builds since the last successful one.
As shown in "How to get list of changed files since last build in Jenkins/Hudson", you can also script it (run from outside any Jenkins build), in order to get that same list.
-
Thanks.I am seeing below error while executing the script:-[EnvInject] - [ERROR] - [EnvInject] - [ERROR] - Problems occurs on injecting env vars as a build wrap: null 11:27:46 Finished: FAILURE – att May 18 '17 at 16:30