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

Job console output does not refresh when job is done

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 1.500 / Tomcat 6 / JDK 1.6.0_18 / Debian 6 / x86
      IE 9
    • Similar Issues:
    • Released As:
      Jenkins 2.175

      Description

      While the job is running, the job console stays updated always.
      But when the job is done, the console does not update anymore.
      This means, the console says "Finished: SUCCESS", the blue ball still is flashing and the progress bar is standing in the middle (not at the end).

      This is rather nasty as one thinks "it is not done, as it is still flashing".

        Attachments

          Issue Links

            Activity

            Hide
            kevinburke Kevin Burke added a comment -

            What action/update is needed to fix this? Does the success/failure handle just need to call redrawLayout or whatever?

            Show
            kevinburke Kevin Burke added a comment - What action/update is needed to fix this? Does the success/failure handle just need to call redrawLayout or whatever?
            Hide
            chandika Chandika Gunawardhana added a comment -

            This issue is still there in Jenkins ver. 1.554.3.

            Show
            chandika Chandika Gunawardhana added a comment - This issue is still there in Jenkins ver. 1.554.3.
            Hide
            danielbeck Daniel Beck added a comment -

            Should be solved with an AJAXy call/JS rather than forcing a page reload. That'd just lose scroll position and/or change the offset/skipped bytes count.

            Show
            danielbeck Daniel Beck added a comment - Should be solved with an AJAXy call/JS rather than forcing a page reload. That'd just lose scroll position and/or change the offset/skipped bytes count.
            Hide
            danielbeck Daniel Beck added a comment -

            FWIW, no page refreshes automatically to reflect updated job status (unless you have the horrible auto-refresh enabled).

            Show
            danielbeck Daniel Beck added a comment - FWIW, no page refreshes automatically to reflect updated job status (unless you have the horrible auto-refresh enabled).
            Hide
            zbynek Zbynek Konecny added a comment -

            Daniel Beck I started playing with AJAX reloading of the build header:
            https://github.com/zbynek/jenkins/commit/271574c97b4e1256cd6056a59ff4102d04a911ce
            does the job for the icon and the progress bar, but it would be nice to update more parts of the page in the future. I was thinking some kind of client side (JS) event queue where every component could send events a listen to them would make this extensible, in this particular commit it would allow me to kill the global updateBuildCaptionIcon JS variable that's referenced from different Jelly files. Is there a mechanism to do that already?

            Show
            zbynek Zbynek Konecny added a comment - Daniel Beck I started playing with AJAX reloading of the build header: https://github.com/zbynek/jenkins/commit/271574c97b4e1256cd6056a59ff4102d04a911ce does the job for the icon and the progress bar, but it would be nice to update more parts of the page in the future. I was thinking some kind of client side (JS) event queue where every component could send events a listen to them would make this extensible, in this particular commit it would allow me to kill the global updateBuildCaptionIcon JS variable that's referenced from different Jelly files. Is there a mechanism to do that already?
            Hide
            danielbeck Daniel Beck added a comment -

            Zbynek Konecny I encourage you to submit this as a pull request and let it be reviewed by people who understand JS (not me ).

            Show
            danielbeck Daniel Beck added a comment - Zbynek Konecny I encourage you to submit this as a pull request and let it be reviewed by people who understand JS (not me ).
            Hide
            zbynek Zbynek Konecny added a comment -
            Show
            zbynek Zbynek Konecny added a comment - Daniel Beck thanks, I submitted a PR https://github.com/jenkinsci/jenkins/pull/3952 .
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It was fixed in Jenkins 2.175

             

            Show
            oleg_nenashev Oleg Nenashev added a comment - It was fixed in Jenkins 2.175  
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Thanks for the fix Zbynek Konecny!

            Show
            oleg_nenashev Oleg Nenashev added a comment - Thanks for the fix Zbynek Konecny !

              People

              • Assignee:
                kevinburke Kevin Burke
                Reporter:
                mkarg Markus KARG
              • Votes:
                5 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: