[ https://issues.jenkins-ci.org/browse/JENKINS-13609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163550#comment-163550 ]
Cees Bos commented on JENKINS-13609: ------------------------------------ We have a similar issue, that after a restart some jobs do not have history at all anymore But on filesystem of the master there is still a lot of history. For a particular job is has 30 old builds on disk on the master, but in the view there is nothing anymore. > Lost of the latest build after jenkins restart > ---------------------------------------------- > > Key: JENKINS-13609 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13609 > Project: Jenkins > Issue Type: Bug > Components: build-publisher, core > Reporter: stibbons > Assignee: vjuranek > Attachments: jenkins.log > > > Hello > I have a recuring problem since some weeks, I though this was coming from > me... so here is the description: > - I have a build which produce junit files to be parsed and included in the > results > - each night this build run and generates a new build number + artifacts + > HTML report + junit report > - after the build, its number appears in the build history, correctly. > However, sometimes, after a jenkins restart, the latest build (262) has > disapeared from the build history, so the first one is the previous (261)! > Even the artifact published are from the previous build (261). > If I go in the workspace I can see files created by the latest build. > When I start a new build, the build number is as expected (263). > It's like if the build enumeration system skips the latest build. > I join the jenkins log in attachment. As you can see the > "OCHD_Inc_Build_HEAD_05_Non_Reg_Tests_RHES5_64_Atomix_Dual_Channels" jobs > starts enumerating jobs by #261 while the job #262 has been ignored (the > directory > .../OCHD_Inc_Build_HEAD_05_Non_Reg_Tests_RHES5_64_Atomix_Dual_Channels/builds/262 > exists... However, lastStable and lastSucessful has not been updated. > nextBuildNumber is well set to 263). > Thanks, > G. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira