• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • timestamper-plugin
    • None
    • Jenkins 1.57x, Windows 2008 R2 Server master, Windows 7 clients, Chrome35

      Since updating to 1.5.12 of the time-stamper plugin the live-update of the console output is broken for me. Downgrading to 1.5.11 fixes the problem. I supected a core change but discussion on the jenkins-user list gave the right clue to try to downgrade the timestamper plugin.

      In this discussion another user reported the following firebug error, maybe that's helpful:

      Firebug reports this error after receiving a successful POST from http://

      {...}

      /logText/progressiveHtml :
      TypeError: container is null
      http://jenkins-url/static/4a3b5c01/scripts/prototype.js
      Line 1798

          [JENKINS-23867] Incompatibility with Jenkins 1.572 or later

          Dirk, could you do me a favour? Give this version a try and let me know whether you still get 400 Bad Request.

          https://jenkins.ci.cloudbees.com/job/plugins/job/timestamper-plugin/67/org.jenkins-ci.plugins$timestamper/

          Steven G Brown added a comment - Dirk, could you do me a favour? Give this version a try and let me know whether you still get 400 Bad Request. https://jenkins.ci.cloudbees.com/job/plugins/job/timestamper-plugin/67/org.jenkins-ci.plugins$timestamper/

          Dirk Kuypers added a comment -

          I will do, but it could be that the next window for a restart will take another 24 hours.

          Dirk Kuypers added a comment - I will do, but it could be that the next window for a restart will take another 24 hours.

          Dirk Kuypers added a comment -

          Steven, good Job! It works again. Thanks!

          Dirk Kuypers added a comment - Steven, good Job! It works again. Thanks!

          Great, that's good news. I've prepared a 1.5.14 release with that fix.

          I appreciate your help. Thanks, Dirk.

          Steven G Brown added a comment - Great, that's good news. I've prepared a 1.5.14 release with that fix. I appreciate your help. Thanks, Dirk.

          A. Kirby added a comment -

          I downloaded the 1.5.14-SNAPSHOT package and installed it on my Jenkins test server. I am still not seeing the timestamper. I'm still seeing the same issue where the timestamp span isn't being rendered on the page causing the jquery code to not bind. Even if I use jquery to insert the missing span, timestamper still doesn't want to render the timestamps in the console output. I have tried uninstalling, rebooting the server, manually deleting the plugin and downgrading the plugin. With the rollout of 1.572 this plugin has completely stopped working for me. I am using 1.574 and I keep upgrading hoping that either a newer Jenkins or a newer plugin will resolve the problem.

          A. Kirby added a comment - I downloaded the 1.5.14-SNAPSHOT package and installed it on my Jenkins test server. I am still not seeing the timestamper. I'm still seeing the same issue where the timestamp span isn't being rendered on the page causing the jquery code to not bind. Even if I use jquery to insert the missing span, timestamper still doesn't want to render the timestamps in the console output. I have tried uninstalling, rebooting the server, manually deleting the plugin and downgrading the plugin. With the rollout of 1.572 this plugin has completely stopped working for me. I am using 1.574 and I keep upgrading hoping that either a newer Jenkins or a newer plugin will resolve the problem.

          A. Kirby,

          Could you clarify what problems you are experiencing? I think that your timestamps are not appearing, and also something else went wrong that prompted you to uninstall the plugin?

          Steven G Brown added a comment - A. Kirby, Could you clarify what problems you are experiencing? I think that your timestamps are not appearing, and also something else went wrong that prompted you to uninstall the plugin?

          A. Kirby added a comment -

          Steve,

          I had timestamper installed and working for a while, then I upgraded jenkins to 1.572 and it stopped working. I tried uninstalling timestamp, installing it again, upgrading to the latest and upgrading jenkins to 1.573 and now 1.574. I have the latest version of timestamper installed; the 1.5.14 snapshot and it's still not working. The first thing I have noticed is the span.timestamp tag isn't being inserted into the side panel. In script.js it looks for this to bind to, but the plugin isn't inserting it into the DOM. If I use a little jquery to create the span myself, it does render the radio buttons and even binds the events. However, it still doesn't render the information in the console output. It seems like although the plugin is installed, and is enabled, it's not being executed correctly if at all. I do see the settings in the Manage Jenkins -> Configure System -> Timestamper section.

          A. Kirby added a comment - Steve, I had timestamper installed and working for a while, then I upgraded jenkins to 1.572 and it stopped working. I tried uninstalling timestamp, installing it again, upgrading to the latest and upgrading jenkins to 1.573 and now 1.574. I have the latest version of timestamper installed; the 1.5.14 snapshot and it's still not working. The first thing I have noticed is the span.timestamp tag isn't being inserted into the side panel. In script.js it looks for this to bind to, but the plugin isn't inserting it into the DOM. If I use a little jquery to create the span myself, it does render the radio buttons and even binds the events. However, it still doesn't render the information in the console output. It seems like although the plugin is installed, and is enabled, it's not being executed correctly if at all. I do see the settings in the Manage Jenkins -> Configure System -> Timestamper section.

          OK, here are some things to try:

          • On the project configuration page, make sure the "Add Timestamps to the Console Output" option (found under "Build Environment) is enabled.
          • Check for errors in your web server's log file when running a build and when viewing the console.
          • Attach the contents of the timestamper directory to this JIRA issue. You should see at least two files: "timestamps" and "timestamps.SHA-1".

          Steven G Brown added a comment - OK, here are some things to try: On the project configuration page, make sure the "Add Timestamps to the Console Output" option (found under "Build Environment) is enabled. Check for errors in your web server's log file when running a build and when viewing the console. Attach the contents of the timestamper directory to this JIRA issue. You should see at least two files: "timestamps" and "timestamps.SHA-1".

          A. Kirby added a comment -

          Thanks Steve. I don't recall checking this in the previous releases and I didn't think to look at the project configuration to enable the plugin, but that's what the problem was. The "Add Timestamps to the Console Output" wasn't checked. Things are working now.

          A. Kirby added a comment - Thanks Steve. I don't recall checking this in the previous releases and I didn't think to look at the project configuration to enable the plugin, but that's what the problem was. The "Add Timestamps to the Console Output" wasn't checked. Things are working now.

          Great. Happy to help.

          Steven G Brown added a comment - Great. Happy to help.

            stevengbrown Steven G Brown
            bruce Dirk Kuypers
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: