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

Conditional rerun (or Naginator plugin doesn't work with Flexible Publish)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Adding a conditional action as run always and Retry build after failure. It does not trigger the retry.

        Attachments

          Issue Links

            Activity

            ctromero Tonatiuh Romero created issue -
            Hide
            ikedam ikedam added a comment -

            I couldn't get the problem you faced at all.
            What does Retry mean?
            What's the behavior you expected?
            Please report more details.

            Show
            ikedam ikedam added a comment - I couldn't get the problem you faced at all. What does Retry mean? What's the behavior you expected? Please report more details.
            ctromero Tonatiuh Romero made changes -
            Field Original Value New Value
            Attachment Screen Shot 2014-07-29 at 17.36.57.png [ 26452 ]
            Attachment Screen Shot 2014-07-29 at 17.36.29.png [ 26453 ]
            Hide
            ctromero Tonatiuh Romero added a comment -

            Normally if I configure "Retry build after failure" it will trigger another build. If I use Flexible publish with the same configuration it does not trigger another build

            Show
            ctromero Tonatiuh Romero added a comment - Normally if I configure "Retry build after failure" it will trigger another build. If I use Flexible publish with the same configuration it does not trigger another build
            Hide
            ikedam ikedam added a comment -

            I got it. You mean Naginator plugin doesn't work with Flexible Publish plgin, right?

            I had a look at the implematation of naginator plugin, and saw it does't work with flexible-publish plugin.
            Rerun post build step works just as a marker to decide whether rerun is required, and wrapping with flexible-publish makes it hidden and not work as a marker.

            This is an issue of naginator plugin, and flexible-publish plugin can do nothing for that.
            I changed the target component of this issue.

            What naginator plugin can do (this is notes for maintainer(s) of naginator plugin):

            • Use Action to mark whether to rerun.
            • Add a feature of conditional rerun.
            • Doesn't support conditional rerun, and close this issue with Won't Fix.
            Show
            ikedam ikedam added a comment - I got it. You mean Naginator plugin doesn't work with Flexible Publish plgin , right? I had a look at the implematation of naginator plugin, and saw it does't work with flexible-publish plugin. Rerun post build step works just as a marker to decide whether rerun is required, and wrapping with flexible-publish makes it hidden and not work as a marker. This is an issue of naginator plugin, and flexible-publish plugin can do nothing for that. I changed the target component of this issue. What naginator plugin can do (this is notes for maintainer(s) of naginator plugin): Use Action to mark whether to rerun. Add a feature of conditional rerun. Doesn't support conditional rerun, and close this issue with Won't Fix.
            ikedam ikedam made changes -
            Summary Retry build after failure not working Conditional rerun (or Naginator plugin doesn't work with Flexible Publish)
            Issue Type Bug [ 1 ] New Feature [ 2 ]
            Assignee bap [ bap ] Nicolas De Loof [ ndeloof ]
            Component/s naginator [ 15560 ]
            Component/s flexible-publish [ 16130 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-29715 [ JENKINS-29715 ]
            integer Kanstantsin Shautsou made changes -
            Assignee Nicolas De Loof [ ndeloof ] ikedam [ ikedam ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java
            src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java
            src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherScheduleAction.java
            src/main/java/com/chikli/hudson/plugin/naginator/NaginatorScheduleAction.java
            src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java
            src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java
            src/test/java/com/chikli/hudson/plugin/naginator/NaginatorScheduleActionTest.java
            http://jenkins-ci.org/commit/naginator-plugin/9621e5d8f41158771440eab2677796cb331f4f03
            Log:
            [FIXED JENKINS-29715] [FIXED JENKINS-23984] Introduced NaginatorScheduleAction that makes Naginator to reschedule the build. This allows other plugins to trigger naginator and also allows naginator-plugin works even wrapped by other plugins.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/com/chikli/hudson/plugin/naginator/NaginatorListener.java src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherScheduleAction.java src/main/java/com/chikli/hudson/plugin/naginator/NaginatorScheduleAction.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorListenerTest.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorPublisherTest.java src/test/java/com/chikli/hudson/plugin/naginator/NaginatorScheduleActionTest.java http://jenkins-ci.org/commit/naginator-plugin/9621e5d8f41158771440eab2677796cb331f4f03 Log: [FIXED JENKINS-29715] [FIXED JENKINS-23984] Introduced NaginatorScheduleAction that makes Naginator to reschedule the build. This allows other plugins to trigger naginator and also allows naginator-plugin works even wrapped by other plugins.
            integer Kanstantsin Shautsou made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            ikedam ikedam added a comment -

            Fixed in naginator-1.16.
            It will be available in the update center in a day.
            Please try that.

            Show
            ikedam ikedam added a comment - Fixed in naginator-1.16. It will be available in the update center in a day. Please try that.
            ikedam ikedam made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 156854 ] JNJira + In-Review [ 207898 ]

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                ctromero Tonatiuh Romero
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: