0

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.

1 Answer 1

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.

1
  • 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, 2017 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.