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

rebuild plugin does not support File parameters

    Details

    • Similar Issues:

      Description

      The rebuild plugin does not work with file parameter (file uploader), so when i try to rebuild a job using this kind of parameters, the value is empty.

        Attachments

          Activity

          Hide
          alisdair_robertson Alisdair Robertson added a comment -

          I'm having the same problem, Jenkins 2.39 & Rebuild Plugin 1.25.

          String parameters are replicated OK, but every build I need to re-upload the file parameters.

          This seems pretty important as the wiki page for the rebuild plugin suggests the plugin has supported file parameters since Version 1.13 (June 11, 2012).

          Show
          alisdair_robertson Alisdair Robertson added a comment - I'm having the same problem, Jenkins 2.39 & Rebuild Plugin 1.25. String parameters are replicated OK, but every build I need to re-upload the file parameters. This seems pretty important as the wiki page for the rebuild plugin suggests the plugin has supported file parameters since Version 1.13 (June 11, 2012).
          Hide
          alisdair_robertson Alisdair Robertson added a comment -

          Released I was not 100% correct here. In the per-job config help it's made pretty clear that file parameters are only carried over if the 'Rebuild Without Asking For Parameters' box is checked:

          This works for my use, but it would be more useful to be able to edit some parameters but still carry over the file parameters.

          Show
          alisdair_robertson Alisdair Robertson added a comment - Released I was not 100% correct here. In the per-job config help it's made pretty clear that file parameters are only carried over if the 'Rebuild Without Asking For Parameters' box is checked: This works for my use, but it would be more useful to be able to edit some parameters but still carry over the file parameters.
          Hide
          eflores Edwin Flores added a comment -

          I've run into the same problem recently. Even if not officially supported, this definitely used to work (for a rather generous definition of 'work').

          I've tracked it down to GitParameterRebuild.java in this commit[1], which doesn't implement getRebuildPage properly and leads to GitParameterRebuild rendering all parameter types on the rebuild page. It appears to have been fixed in v0.7.2 of the Git Parameter plugin.

          [1] https://github.com/jenkinsci/git-parameter-plugin/commit/b05a018ac171d5e5f6287a69f41937b77443862a#diff-6ea63bddba10e18a27033f30a6e78217

          Show
          eflores Edwin Flores added a comment - I've run into the same problem recently. Even if not officially supported, this definitely used to work (for a rather generous definition of 'work'). I've tracked it down to GitParameterRebuild.java in this commit [1] , which doesn't implement getRebuildPage properly and leads to GitParameterRebuild rendering all parameter types on the rebuild page. It appears to have been fixed in v0.7.2 of the Git Parameter plugin. [1] https://github.com/jenkinsci/git-parameter-plugin/commit/b05a018ac171d5e5f6287a69f41937b77443862a#diff-6ea63bddba10e18a27033f30a6e78217
          Hide
          alisdair_robertson Alisdair Robertson added a comment -

          This couldn't be the issue for me, as I don't have GitParameterRebuild installed, only the rebuild plugin https://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin

          Show
          alisdair_robertson Alisdair Robertson added a comment - This couldn't be the issue for me, as I don't have GitParameterRebuild installed, only the rebuild plugin https://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin

            People

            • Assignee:
              Unassigned
              Reporter:
              cristianprofile cristian romero matesanz
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: