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

Lost of the latest build after jenkins restart

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          cbos Cees Bos added a comment -

          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.

          Show
          cbos Cees Bos added a comment - 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.
          Hide
          evernat evernat added a comment -

          Is it reproduced with a recent Jenkins version?

          Show
          evernat evernat added a comment - Is it reproduced with a recent Jenkins version?
          Hide
          danielbeck Daniel Beck added a comment -

          No response to comment asking for updated information in over a year, so resolving as Cannot Reproduce.

          Show
          danielbeck Daniel Beck added a comment - No response to comment asking for updated information in over a year, so resolving as Cannot Reproduce.

            People

            Assignee:
            lvotypkova Lucie Votypkova
            Reporter:
            stibbons stibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: