We have different Jenkins-Jobs on the same git repository with different artifacts. And everything works nearly okay for a few weeks.
But since we restarted our server for updates every build history shows us the same ... Also our dashboard shows the wrong build number for the jobs.
http://www.picfront.org/d/8OC6 (cant post images cause of reputation limit)
Like you can see every jobs still has the build number 107 but only the main job is at this number the others are around 30 to 50 ... And as a result every information about builds is a bit incorrect.
Information:
[EDIT]
I also get some Errors in the Jenkins-Log -
24.09.2012 13:29:03 hudson.model.RunMap load
WARNUNG: multiple runs claiming to be #41; using run from C:\Jenkins...
[EDIT2]
I found out when i add a new FreeStyle Job it will show also the full history of the other jobs after a restart.
The solution is to set in the global configuration of jenkins a parameterized path where the builds should be saved. You can find this value under
Manage Jenkins --> Configure Page --> Advanced Conifguration --> Build Path
In my case i configured an absolute path and so every build was saved in one directory.And after a restart every job checked this folder an claimed the builds.
Now i have : ${ITEM_ROOTDIR}/builds
So every job has it own build directory and the problem is gone.
Source: https://groups.google.com/forum/?fromgroups=#!topic/jenkinsci-users/SgSJKBJIClg
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With