How to get the list of changes since the last successful build via script

2018-03-13 Thread meh . 2000
I'm fairly new to Jenkins, although my workplace has been using it for some time for automated builds. We are using Jenkins version 2.60.1 I've been asked to help our build team by writing a script to execute during/after a build which will get all the changes since the last successful build an

Re: How to get the list of changes since the last successful build via script

2018-03-14 Thread meh . 2000
Okay, I think I've figured out the big questions. First, I need to create a build step using "Execute system Groovy script" as the type. This will execute within the JVM running Jenkins and will have access to the Jenkins build information. Next, I can gain access to the current build using the