python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00322
[Bug 1530862] Re: create_job fails
This looks like the same problem as https://bugs.launchpad.net/python-
jenkins/+bug/1513283 (that was with reconfig_job).
I had the same problem, using Jenkins 1.644, and the latest python-
jenkins.
I used my Jenkins API token to authenticate. I found that sometimes I
was able create a new job, but that other times it got the "Possibly
authentication failed [500]: Server Error". It definitely is not an
authentication error.
Interestingly, the exception was thrown in the case when the job
config/xml to upload was large.
I suspect that this might be an error on the Jenkins side, and not an
error in python-jenkins.
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1530862
Title:
create_job fails
Status in Python Jenkins:
Incomplete
Bug description:
When I try to create new job from an existing xml file (downloaded from another job) I get the following error
"Error in request. Possibly authentication failed [500]: Server Error"
I use login through AD
method copy job works ok
I can see that DEFAULT_HEADERS is {'Content-Type': 'text/xml;
charset=utf-8'} but according to jenkins api REST it should be
application/xml for creat job
I have tried to change it to this but with no success
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1530862/+subscriptions
References