add support for FILE parameters.
authorDamien Nozay <damien.nozay@gmail.com>
Thu, 10 Oct 2013 06:05:53 +0000 (23:05 -0700)
committerDamien Nozay <damien.nozay@gmail.com>
Thu, 10 Oct 2013 06:11:01 +0000 (23:11 -0700)
commitf93777094abd6926c1f683bd5d4664aa348cfa8b
tree0d9be4b8cca58991bfe7379e357acf309244e063
parenta01b63a7178c20cbce05e6c8438dfcc1fbffa3a8
add support for FILE parameters.

if a job requires file paremeters, then we cannot use the /build form to
request the build, we need to switch to the /buildWithParameters trigger
and provide a multipart encoded upload.

thankfully requests library has all the plumbing.
jenkinsapi/job.py
jenkinsapi/utils/requester.py
jenkinsapi_tests/systests/job_configs.py
jenkinsapi_tests/systests/test_parameterized_builds.py