-
Bug
-
Resolution: Unresolved
-
Minor
-
None
We use the Tracking SVN Plugin to configure a number of downstream jobs to run the SVN revision that last successfully passed our commit build. These jobs are triggered by the commit build.
So the sequence should be:
1. Commit build detects change in SVN, checks out and build rev 300.
2. Commit build finishes building rev 300
3. Commit build triggers analysis build
4. Analysis build starts running and finds the last successful commit build was rev 300, so runs analysis on rev 300.
Most of the time, that works but occasionally we actually get:
1. Commit build detects change in SVN, checks out and build rev 300.
2. Commit build triggers analysis build
3. Analysis build starts running and finds the last successful commit build was rev 299, so runs analysis on rev 299.
4. Commit build finishes building rev 300
It looks like the downstream builds are being triggered before the the commit build is fully recorded as complete.