jenkins-automation | Helpers for automating Jenkins via Groovy | Plugin library
kandi X-RAY | jenkins-automation Summary
kandi X-RAY | jenkins-automation Summary
Helpers for automating Jenkins via Groovy code—primarily job builders and utilities.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jenkins-automation
jenkins-automation Key Features
jenkins-automation Examples and Code Snippets
Community Discussions
Trending Discussions on jenkins-automation
QUESTION
I need to add/delete Jenkins node label from python script. I tried to do it using REST request but failed with it. This is the command but not works:
...ANSWER
Answered 2021-Nov-25 at 09:06You can't use this technique as there is no configure
API for configuring the node in this way.
If you want to update your node configuration via API you should retrive the config.xml
of the node using the following API /computer//config.xml
, then update the config file according to the new settings you want, and finally you can POST an updated config.xml to the same URL to programmatically update the configuration of a node.
Example of the config.xml
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jenkins-automation
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page