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

Capability to a build rescheduled by other plugins

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • naginator-plugin
    • None

      I want to reschedule a build when timeout occurs with build-timeout plugin.
      It's useful if I can reuse the rescheduling feature of naginator plugin.

      What I plan:

      • When a plugin wants naginator plugin to reschedule a build, it adds an action (e.g. NaginatorScheduleAction) indicating rescheduling to the build.
      • NaginatorListener decides to reschedule a build by that action:
        • current behavior: decides by whether the project is contains NaginatorPublisher
        • new behavir: decides by whether the project contains NaginatorScheduleAction. NaginatorPublisher just adds that action to the build.

      This also fixes JENKINS-23984. Naginator plugin can run conditionally with Flexible Publish

            ikedam ikedam
            ikedam ikedam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: