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

Build history widget does not refresh status of Pipeline build which finishes after Jenkins restart

      Issue:
      A job is created with a parallel section in the pipeline code. Then when that pipeline is being built, if the Jenkins instance is reset, the resume feature will restart the pipeline code but the UI will show that the build never progresses or completes.
      Steps to Reproduce:
      -Create a pipeline job
      -Put parallel section into the pipeline script
      -Build job
      -Restart Jenkins instance from JOC or manual methods while the job is building
      -Observe the script does actually finish but the UI shows it as still building and making no progress
      Proposed Resolution:
      Ensure the UI is actually catching up with the script(because it shows "Success") and that the pipeline and build view loading bars are making progress

          [JENKINS-33589] Build history widget does not refresh status of Pipeline build which finishes after Jenkins restart

          Jesse Glick added a comment -

          Nothing to do with parallel blocks. Reproducible by just resuming a build of

          sleep 120
          

          /job/…/buildHistory/ajax returns just <table class="pane"></table>. That is true even for building a freestyle project, but only after it is finished.

          Jesse Glick added a comment - Nothing to do with parallel blocks. Reproducible by just resuming a build of sleep 120 /job/…/buildHistory/ajax returns just <table class="pane"></table> . That is true even for building a freestyle project, but only after it is finished.

          Jesse Glick added a comment -

          I suspect something is wrong with HistoryWidget.firstTransientBuildKey, but I cannot really follow the code here.

          Jesse Glick added a comment - I suspect something is wrong with HistoryWidget.firstTransientBuildKey , but I cannot really follow the code here.

            Unassigned Unassigned
            ataylor Alex Taylor
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: