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

Incompatibility with Jenkins 1.572 or later

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: timestamper-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.57x, Windows 2008 R2 Server master, Windows 7 clients, Chrome35
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            stevengbrown 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?

            Show
            stevengbrown 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?
            Hide
            arkconfused 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.

            Show
            arkconfused 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.
            Hide
            stevengbrown 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".
            Show
            stevengbrown 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".
            Hide
            arkconfused 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.

            Show
            arkconfused 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.
            Hide
            stevengbrown Steven G Brown added a comment -

            Great. Happy to help.

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: