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

timeout action not defaulting to 'abort build' when no option is selected

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • build-timeout-plugin
    • None
    • Jenkins 1.554.2; Windows 2008 R2; Tomcat 7

      When using the build-timeout plugin without defining a 'Timeout action', the default action of 'Abort build' is not being selected. This results in the build not timing out as expected.

          [JENKINS-23740] timeout action not defaulting to 'abort build' when no option is selected

          Code changed in jenkins
          User: Luke Robertson
          Path:
          src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java
          http://jenkins-ci.org/commit/build-timeout-plugin/cf1fd6f46c23320195e7d55cd115ed50c73f6c6c
          Log:
          JENKINS-23740 Update BuildTimeoutWrapper.java

          Re-use opList so that if null or empty, default to AbortOperation is used.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Luke Robertson Path: src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java http://jenkins-ci.org/commit/build-timeout-plugin/cf1fd6f46c23320195e7d55cd115ed50c73f6c6c Log: JENKINS-23740 Update BuildTimeoutWrapper.java Re-use opList so that if null or empty, default to AbortOperation is used.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java
          http://jenkins-ci.org/commit/build-timeout-plugin/12cb64b88b9f5b173ab94694761def4183487461
          Log:
          Merge pull request #34 from lrobertson39/master

          [FIXED JENKINS-23740] Re-use opList so that if null or empty, default to AbortOperation is used.

          Compare: https://github.com/jenkinsci/build-timeout-plugin/compare/ca80b3f35c29...12cb64b88b9f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/build_timeout/BuildTimeoutWrapper.java http://jenkins-ci.org/commit/build-timeout-plugin/12cb64b88b9f5b173ab94694761def4183487461 Log: Merge pull request #34 from lrobertson39/master [FIXED JENKINS-23740] Re-use opList so that if null or empty, default to AbortOperation is used. Compare: https://github.com/jenkinsci/build-timeout-plugin/compare/ca80b3f35c29...12cb64b88b9f

          ikedam added a comment -

          Released in 1.14.1. It will be available in a day.

          ikedam added a comment - Released in 1.14.1. It will be available in a day.

            lrobertson39 Luke Robertson
            lrobertson39 Luke Robertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: