jenkinsci/jenkins — pull request #540 by cjo9900 (2012-08-14 17:10:58+00:00)
Title: [FIXED JENKINS-7162] Add missing parameters as defaults when called from...

... CLI

Add all the job defined Parameters to the ParameterAction using Defaults
if not passed via the command line.

If this breaks backwards compatibility where these are not expected to be passed, we can introduce a new option to use the defaults for parameters which triggers this behaviour.

@Option(name="-d",usage="Use defaults for parameters not specified, only valid when -p is used")
public boolean parameterDefaults = false;