It seems that reconfig_job() only works on Freestyle projects. If the
project is a Maven project, Multi-configuration project, or a Multi-job
project, (I haven't tested the rest), then the reconfig_job() call will
fail with the HTTP 500 error.


My Jenkins version == 2.46.3

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

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

-- 
Mailing list: https://launchpad.net/~python-jenkins-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~python-jenkins-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to