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

retry-failed-build is incompatible with build-timeout

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When a build is interrupted on Timeout, even being set to FAILURE, it is not retriggered by the retry-failed-build plugin.

      as retry-failed is a Notifier, it can't execute on build Timeout (that is a buildWrapper). An option is to add explicit support for retry-failed invocation in build-timeout plugin

        Attachments

          Activity

          Hide
          ndeloof Nicolas De Loof added a comment -

          proposal fix : https://github.com/jenkinsci/build-timeout-plugin/pull/6
          uses an optional dependency on schedule-failed-builds to invoke reschedule on time-out

          Show
          ndeloof Nicolas De Loof added a comment - proposal fix : https://github.com/jenkinsci/build-timeout-plugin/pull/6 uses an optional dependency on schedule-failed-builds to invoke reschedule on time-out
          Hide
          ndeloof Nicolas De Loof added a comment -

          Naginator plugin (as it replaces deprecated schedule-failed-builds) also has this issue

          Show
          ndeloof Nicolas De Loof added a comment - Naginator plugin (as it replaces deprecated schedule-failed-builds) also has this issue
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java
          src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java
          src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java
          http://jenkins-ci.org/commit/naginator-plugin/2cd6163571d725211e596998bd27456555181168
          Log:
          [FIXED JENKINS-11594] use a RunListener to re-schedule the job

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java http://jenkins-ci.org/commit/naginator-plugin/2cd6163571d725211e596998bd27456555181168 Log: [FIXED JENKINS-11594] use a RunListener to re-schedule the job
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De loof
          Path:
          pom.xml
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java
          src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java
          src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java
          src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java
          http://jenkins-ci.org/commit/naginator-plugin/f2f078c3e32c9f0173d8f17861a6b628e50e2002
          Log:
          Merge pull request #1 from ndeloof/JENKINS-11594

          Jenkins 11594

          Compare: https://github.com/jenkinsci/naginator-plugin/compare/1570930...f2f078c

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De loof Path: pom.xml src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java http://jenkins-ci.org/commit/naginator-plugin/f2f078c3e32c9f0173d8f17861a6b628e50e2002 Log: Merge pull request #1 from ndeloof/ JENKINS-11594 Jenkins 11594 Compare: https://github.com/jenkinsci/naginator-plugin/compare/1570930...f2f078c

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              ndeloof Nicolas De Loof
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: