Hello, I am using an Extended Email Notification in order to provide custom mail report (written in jellyscript) about each build, it's a variation based on default "html.jelly" which is distibuted along with the plugin. I am also using Perforce as version control tool. Now, everything works as expected except "Last changes" section. The problem is as follows:
1. A build is triggered, Jenkins checks what changes have been made since last build (let's call this changeset CS1) 2. Project is being compiled and tested, giving a result (success, failure, unstable... ) 3. A email is generated and my jelly script is fetching all changes made from last revision by ${build.changeSet} collection (let's call this changeset CS2) My expectation is that CS1 should be the same as CS2. Unfortunately, in some cases CS1 != CS2. IT turns out, that if a developer made some changes during step 2., they are also included in CS2, but they shouldn't! The effect is that Jenkins web page shows other "Changes from last build" than my email notification does. I would like to be able to get CS1 - I think Jenkins caches it somewhere, but I cannot find how to fetch it in my email jellyscript generator. Anyone has idea, how can I achieve this? I would appreciate any help on this topic. Thanks in advance! Wojtek