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

naginator-plugin allows some build parameters to be changed via request parameters

    XMLWordPrintable

Details

    Description

      I would like to add the option to overwrite some of the build parameters if they are passed via query parameters. I'm willing to submit a PR for the change but I would like know if this change is welcomed.

      My use case is I manage a large Jenkins farm and have an integration server that allows me to retry a large number of failed builds. I have a need to change the priority assigned to the retried builds.

      Thanks.

      Attachments

        Activity

          ctran Cuong Tran created issue -
          ctran Cuong Tran made changes -
          Field Original Value New Value
          Summary naginator-plugin allows some parameters to be changed via request parameters naginator-plugin allows some build parameters to be changed via request parameters
          ikedam ikedam added a comment -

          It would be better to use and improve Rebuild Plugin:

          • Naginator plugin is mainly designed to reschedule builds automatically (especially against build failures). Rebuild plugin provides more features for manual rescheduling.
          • Rebuild plugin already provides UI to change build parameters when rebuilding. I believe it would be easy to extend it to accept query parameters.

          Would you have look also on rebuild-plugin and see which plugin is easier to add that feature?

          ikedam ikedam added a comment - It would be better to use and improve Rebuild Plugin : Naginator plugin is mainly designed to reschedule builds automatically (especially against build failures). Rebuild plugin provides more features for manual rescheduling. Rebuild plugin already provides UI to change build parameters when rebuilding. I believe it would be easy to extend it to accept query parameters. Would you have look also on rebuild-plugin and see which plugin is easier to add that feature?
          ikedam ikedam made changes -
          Component/s rebuild-plugin [ 15744 ]
          Assignee Nicolas De Loof [ ndeloof ] Cuong Tran [ ctran ]
          ctran Cuong Tran added a comment -

          I believe I need to supply all parameters to the "Rebuild Plugin" whereas I only want to overwrite some parameters, but I will take a closer look at the plugin.

          ctran Cuong Tran added a comment - I believe I need to supply all parameters to the "Rebuild Plugin" whereas I only want to overwrite some parameters, but I will take a closer look at the plugin.

          People

            ctran Cuong Tran
            ctran Cuong Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: