-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload node configs with an xml content type #793
base: master
Are you sure you want to change the base?
Conversation
Is there any chance this could get merged? Without this, all calls to jenkinsapi.Node.set_config_element fail with an internal error, return code 500. Tested with Jenkins 2.277.4 and jenkinsapi 0.3.11. |
Actually, when I use the basic api of jenkins( POST /computer/test4/config.xml) to update my node I have used Requests to avoid this defect, the program segment is wrote as follows: |
Can someone look into this ? I tried to run |
Jenkins is throwing an error when the content type is not xml when uploading a node config.