Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13609

Lost of the latest build after jenkins restart


    • Similar Issues:



      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).




          stibbons stibbons created issue -
          vjuranek vjuranek made changes -
          Field Original Value New Value
          Assignee vjuranek [ vjuranek ] Lucie Votypkova [ lvotypkova ]
          danielbeck Daniel Beck made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Cannot Reproduce [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144076 ] JNJira + In-Review [ 190897 ]


            • Assignee:
              lvotypkova Lucie Votypkova
              stibbons stibbons
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: