I am using Genkins SVN plugin (thank you :) ) to run my CI. My jobs are slightly unusual as I use the same job to run tests on multiple branches. I have the following branches:
trunk
QA
unstable
The job is parameterized to take in the path to the branch I want to build. As the job does many other things it was more efficient to do it this way rather than creating 3 separate jobs with a lot of logic duplication.
The issue this is creating is that Jenkins is confused about what has changed between runs. Most often is says that there were no changes. I am guessing it remembers the revision number of the last build, and if the build on another branch has a lower revision number it says that nothing changed.
The job right now is triggered immediately after any change on any of the above branches. So in essence I need it to ignore the revision number from the previous build and just report the *last* change on the branch it is currently looking at. Then, if there is failure, send the email to the person making the last commit (which is the main problem for me right now).
Is there any way to make this happen?
Thanks a lot!
Alex