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

Show a message in the console log when a build timeout occurs

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • build-timeout-plugin
    • None

      When a build timeout action runs, there is no indication within the console log that a timeout condition was triggered. Please add some information statement that indicates what is happening.

          [JENKINS-23137] Show a message in the console log when a build timeout occurs

          I'm able to see that trace in my logs:

          Build timed out (after 15 minutes). Marking the build as failed.
          

          Plugin version: 1.14.1

          Victor Martinez added a comment - I'm able to see that trace in my logs: Build timed out (after 15 minutes). Marking the build as failed. Plugin version: 1.14.1

          Dean Birch added a comment -

          I'm able to see that trace in my logs:

          Build timed out (after 15 minutes). Marking the build as failed.

          Plugin version: 1.14.1

          This appears in the console log when the build is marked as failed, not when the timeout occurs. Marking the build as failed is only one possibility after the timeout occurs. If you are not marking the job as failed as a result of the timeout, it's possible that nothing appears in the console logs.

          I'm using plugin version 1.15.1 and I've had timeouts that do not mark the build as failed, and there is nothing in the logs to indicate it.

          Dean Birch added a comment - I'm able to see that trace in my logs: Build timed out (after 15 minutes). Marking the build as failed. Plugin version: 1.14.1 This appears in the console log when the build is marked as failed, not when the timeout occurs. Marking the build as failed is only one possibility after the timeout occurs. If you are not marking the job as failed as a result of the timeout, it's possible that nothing appears in the console logs. I'm using plugin version 1.15.1 and I've had timeouts that do not mark the build as failed, and there is nothing in the logs to indicate it.

            kohsuke Kohsuke Kawaguchi
            walterk82 Walter Kacynski
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: