specifying a cli parameter causes unspecified parameters to be blank

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      If you have a parameterized job with multiple parameters, all with default values, you can trigger it via an upstream build and all parameters have the default value as expected. This also works when building it via the CLI if you don't specify parameters.

      However as soon as you specify one parameter like "-p PARAM1=foo" then all the other parameters lose their default value and are blank for the build.

      I would expect that specifying one parameter should still allow others to get the default, otherwise in our scripts that invoke CLI builds, we have to put in every parameter and duplicate the default value which is error-prone and is easy to forget when changing one. Confirmed with a fresh and clean 1.370 Hudson.

            Assignee:
            Unassigned
            Reporter:
            mcrooney
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: