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

Progress indicator does not function properly in certain conditions

      jenkinswalldisplay.js lines 633-635:
      var dateHeader = jqXHR.getResponseHeader("Date");
      var date = new Date(dateHeader);
      serverTime = date.getTime();

      If response headers do not contain Date header (standalone Jenkins?) all currently building jobs progress show 100% complete.

      Also noticed jenkinswalldisplay.js line 813: if (customTheme != null)

      If customTheme is not defined generates an error

          [JENKINS-21900] Progress indicator does not function properly in certain conditions

          Matt Byrne added a comment -

          Noticed the same thing. Any known workaround to force jenkins to set the Date header without changing to using Tomcat?

          Matt Byrne added a comment - Noticed the same thing. Any known workaround to force jenkins to set the Date header without changing to using Tomcat?

          As a temporary fix I will pass the server date via the plugins API to the walldisplay until this is sorted out

          Christian Pelster added a comment - As a temporary fix I will pass the server date via the plugins API to the walldisplay until this is sorted out

          I just released a new version that that fixes the problem. Should turn up in the Jenkins plugin repository in a few hours.

          Christian Pelster added a comment - I just released a new version that that fixes the problem. Should turn up in the Jenkins plugin repository in a few hours.

            pelle Christian Pelster
            ottawan Ivan Mounitsyn
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: