Jenkins - mixed build history after restart

We have different Jenkins-Jobs in the same git repository with different artifacts. And everything works almost normal for several weeks.

But since we restarted our server for updates, each build history shows us the same thing ... Also, our panel shows the wrong build number for jobs.

http://www.picfront.org/d/8OC6 (unconfirmed reports limit reputation)

As you can see, all tasks still have build number 107, but only the main task is on this number, the rest are about 30-50 ... And as a result, each information about assemblies is a little incorrect.

information:

  • Buildsystem: Jenkins 1.477 Win XP 32-bit Java 7
  • 5 Work in the same git-repsoitory
  • Building an Eclipse app and an Andorid app

[EDIT]

I also get some errors in 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 project, it will show the whole history of other tasks after a restart.

+5
source share
1 answer

The solution is to set a parameterized path in the jenkins global configuration where the assemblies should be saved. This value can be found in

Jenkins Management -> Customize Page -> Advanced Conifguration -> Build Path

In my case, I configured the absolute path, and so each assembly was saved in one directory. And after a reboot, each job checked this folder, claimed the assembly.

Now I have: $ {ITEM_ROOTDIR} / builds

, , .

: https://groups.google.com/forum/?fromgroups=#!topic/jenkinsci-users/SgSJKBJIClg

+6

All Articles