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

Under "Add Parameters" for each job, include option for previous parameters (i.e. last successful build paramters)

    • Icon: Improvement Improvement
    • Resolution: Postponed
    • Icon: Minor Minor
    • None
    • Jenkins ver. 2.73.3

      It would incredibly useful to include an option to "rebuild" jobs. By adding a parameter option to "rebuild" or just use previous parameters, it could be implemented

          [JENKINS-48461] Under "Add Parameters" for each job, include option for previous parameters (i.e. last successful build paramters)

          Jeff G added a comment -

          Just ran across this enhancement and thought I would provide you a potential work around.  On our Jenkins, we had implemented a Groovy Postbuild Action which saved the parameter used values as the job's default parameter whenever it were successful.  That sounds like what you are looking to do.

          I think your ask is a more generic one, not really specific to the Multi-job plugin so I doubt they will address it.

          I attached the script for your reference.  It also adds a tag to the build when the parameters change including a popup for the old/new values.

           

          Jeff G added a comment - Just ran across this enhancement and thought I would provide you a potential work around.  On our Jenkins, we had implemented a Groovy Postbuild Action which saved the parameter used values as the job's default parameter whenever it were successful.  That sounds like what you are looking to do. I think your ask is a more generic one, not really specific to the Multi-job plugin so I doubt they will address it. I attached the script for your reference.  It also adds a tag to the build when the parameters change including a popup for the old/new values.  

          Jason D'Amour added a comment -

          Thanks for this!! I'll give this a shot.

          Jason D'Amour added a comment - Thanks for this!! I'll give this a shot.

          Closing issue as part of tikal-multijob-plugin issues cleanup.
          If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

          Yoram Michaeli added a comment - Closing issue as part of tikal-multijob-plugin issues cleanup. If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

            ragesh_nair ragesh_nair
            jasondamour Jason D'Amour
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: