← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1530862] [NEW] create_job fails

 

Public bug reported:

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

** Affects: python-jenkins
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups