-
Bug
-
Resolution: Fixed
-
Major
-
None
-
All platforms (reproduced on Macintosh, Windows 7, Unbuntu 10.)
If the build requires parameters then we can post our request to the following
url
http://hudson:8080/hudson/job/WORKSPACE/buildWithParameters?token="XXX"&VARABLE=VALUE
from the command line.
How do I pass the source file parameter location into the above URL from the
command line?.
Please provide this support in the hudson cli.
The syntax is:
See also http://wiki.jenkins-ci.org/display/JENKINS/Hudson+CLI.
The ability to specify file parameters via the CLI was implemented in November 2009 (r23543), but has a bug. Here is an example of the build console output:
The null value here is the location that the file is copied to within the workspace. After applying the following patch to FileParameterDefinition, the builds are successful and the file is copied into the workspace as expected.