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

Plugins Build-timeout and FSTrigger cannot be used in the same job

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When I create a job that is triggered by a file change (option "[FSTrigger] - Monitor files") and that aborts if a build takes to long (option "Abort the build if it's stuck") then an invalid job configuration is created. The job configuration does not contain a strategy.

      This happend after i upgraded

      • Jenkins from 1.509.1 to 1.509.4
      • build-timeout from 1.11 to 1.12.2
      • fstrigger from 0.36 to 0.38

        Attachments

          Issue Links

            Activity

            Hide
            bernhardb Bernhard Berbuir added a comment -

            Downgrading the plugin build-timeout to version 1.11 is a workaround for this bug.

            Show
            bernhardb Bernhard Berbuir added a comment - Downgrading the plugin build-timeout to version 1.11 is a workaround for this bug.
            Hide
            ikedam ikedam added a comment -

            This seems caused by the radio field "strategy" is overlapped.
            How to see:

            • Install FSTrigger and Build-timeout.
            • Open job configuration page.
            • Select a strategy in Build-timeout.
            • Check "[FSTrigger] - Monitor files" and "Add file to monitor"
            • Result: the strategy selected in Build-timeout is invalidated.
            Show
            ikedam ikedam added a comment - This seems caused by the radio field "strategy" is overlapped. How to see: Install FSTrigger and Build-timeout. Open job configuration page. Select a strategy in Build-timeout. Check " [FSTrigger] - Monitor files" and "Add file to monitor" Result: the strategy selected in Build-timeout is invalidated.
            Show
            ikedam ikedam added a comment - https://github.com/jenkinsci/build-timeout-plugin/pull/27
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            pom.xml
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/config.jelly
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategy.groovy
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw.html
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw_ja.html
            src/main/resources/hudson/plugins/build_timeout/nestedHelp.js
            http://jenkins-ci.org/commit/build-timeout-plugin/052a9909ee38a8b56ca0d210337e72acc8d736d6
            Log:
            [FIXED JENKINS-20164] Use dropdown for strategy instead of hetero-radio, as it can conflicts with other plugins. Upgraded target Jenkins version as rendering an expanded help requires layoutUpdateCallback introduced in Jenkins 1.452.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/config.jelly src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategy.groovy src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw.html src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw_ja.html src/main/resources/hudson/plugins/build_timeout/nestedHelp.js http://jenkins-ci.org/commit/build-timeout-plugin/052a9909ee38a8b56ca0d210337e72acc8d736d6 Log: [FIXED JENKINS-20164] Use dropdown for strategy instead of hetero-radio, as it can conflicts with other plugins. Upgraded target Jenkins version as rendering an expanded help requires layoutUpdateCallback introduced in Jenkins 1.452.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/main/java/hudson/plugins/build_timeout/impl/AbsoluteTimeOutStrategy.java
            http://jenkins-ci.org/commit/build-timeout-plugin/8af1eee7cbb4c47d7200ab3d1f080cd819a80d09
            Log:
            JENKINS-20164 Explicitly make AbsoluteTimeOutStrategy default.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/build_timeout/impl/AbsoluteTimeOutStrategy.java http://jenkins-ci.org/commit/build-timeout-plugin/8af1eee7cbb4c47d7200ab3d1f080cd819a80d09 Log: JENKINS-20164 Explicitly make AbsoluteTimeOutStrategy default.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            pom.xml
            src/main/java/hudson/plugins/build_timeout/impl/AbsoluteTimeOutStrategy.java
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/config.jelly
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategy.groovy
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw.html
            src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw_ja.html
            src/main/resources/hudson/plugins/build_timeout/nestedHelp.js
            http://jenkins-ci.org/commit/build-timeout-plugin/0c2051bb9ca333521706dd87fa4a729041bc5c5a
            Log:
            Merge pull request #27 from ikedam/feature/JENKINS-20164_strategyRadioToDropdown

            JENKINS-20164 Use dropdown for strategy instead of hetero-radio

            Compare: https://github.com/jenkinsci/build-timeout-plugin/compare/3a0984b42932...0c2051bb9ca3

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/main/java/hudson/plugins/build_timeout/impl/AbsoluteTimeOutStrategy.java src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/config.jelly src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategy.groovy src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw.html src/main/resources/hudson/plugins/build_timeout/BuildTimeoutWrapper/help-strategyRaw_ja.html src/main/resources/hudson/plugins/build_timeout/nestedHelp.js http://jenkins-ci.org/commit/build-timeout-plugin/0c2051bb9ca333521706dd87fa4a729041bc5c5a Log: Merge pull request #27 from ikedam/feature/ JENKINS-20164 _strategyRadioToDropdown JENKINS-20164 Use dropdown for strategy instead of hetero-radio Compare: https://github.com/jenkinsci/build-timeout-plugin/compare/3a0984b42932...0c2051bb9ca3
            Hide
            ikedam ikedam added a comment -

            Released in 1.14.
            Please try that.

            Show
            ikedam ikedam added a comment - Released in 1.14. Please try that.

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                bernhardb Bernhard Berbuir
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: