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

setting build.UNSTABLE only shows in Dashboard after restart of Jenkins in some cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • dashboard-view-plugin
    • Ubuntu 12.10 -64 bit

      java version "1.7.0_40"
      Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

      Found an issue (reproducible) with "Build status" and the Dashboard.

      In the post-build actions ... I issue build.setResult(Result.UNSTABLE);

      • The console (job) log shows the build as Finished: UNSTABLE (as expected)
      • When I go to the Dashboard, everything looks fine (all blue). (no problems).
      • Browser refresh does not change the status
      • Waiting a few minutes and refreshing does not change the status.

      This is where it gets strange...

      If I restart Jenkins by either rebooting during a new plugin upload OR a jenkins restart using /etc/init.d/jenkins restart, when the server comes back the status as UNSTABLE as expected.

      Please feel free to reclassify or cancel if this was reproduced as a defect in error.

            petehayes Peter Hayes
            mikecaspar Mike Caspar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: