Comment 3 for bug 811044

Revision history for this message
Tom Wood (tom-wood-7) wrote :

Hi

At the moment I'm just evaluating Jenkins so it's running on a Ubuntu 10.04 32-bit VM, installed from packages using the instructions at https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu. I'm running my Python script on a different machine (actually the VM host, which is running Ubuntu 10.10 32-bit). Python version 2.6.6.

Normally I've been running Jenkins behind an Apache reverse proxy, though to test this bug I disabled that and accessed it directly via Winstone (same issue either way).

Jenkins security is configured as "Jenkins user database", "Matrix-based security".

I'm basically trying to run something like the following script:

j = Jenkins("http://path-to-jenkins/","User","Password")
j.build_job('job', {'PARAMETER': 'blah'})

I added some debug prints into jenkins_open and the other request performed by build_job worked fine (the one triggered by job_exists). It was only the line I quoted in the bug report that failed, and it worked as soon as I removed the empty string parameter.