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

Build Timeout plugin does not mark build as failed even when option is selected

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • build-timeout-plugin
    • None
    • This is happening with version 1.7 of the plugin. I believe it used to work earlier, but I have not verified.

      Jenkins version is 1.408

      Build Timeout plugin does not mark build as failed even when option is selected. The build is aborted (grey) instead of failed (red)

      Configuration:

      <buildWrappers>
      <hudson.plugins.build__timeout.BuildTimeoutWrapper>
      <timeoutMinutes>3</timeoutMinutes>
      <failBuild>true</failBuild>
      </hudson.plugins.build__timeout.BuildTimeoutWrapper>
      </buildWrappers>

      Console output:

      Started by user pickgr
      Building on master
      No emails were triggered.
      [workspace] $ /bin/bash -xe /tmp/tomcat6-tmp/hudson6264385044870732732.sh
      + hostname
      srsdclljkns01
      + echo 'This is a test build'
      This is a test build
      + sleep 300
      Build timed out (after 3 minutes). Marking the build as failed.
      /tmp/tomcat6-tmp/hudson6264385044870732732.sh: line 4: 2656 Terminated sleep 300
      No emails were triggered.
      Finished: ABORTED

          [JENKINS-9548] Build Timeout plugin does not mark build as failed even when option is selected

          pickgr created issue -
          Nicolas De Loof made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Martin Ba made changes -
          Link New: This issue is related to JENKINS-9203 [ JENKINS-9203 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139716 ] New: JNJira + In-Review [ 188646 ]

            kohsuke Kohsuke Kawaguchi
            pickgr1 pickgr
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: