Reputation: 17
Is there any script or plugin so that I can take Jenkins node offline automatically if the job passes. Or if i explicitly give choice parameter to take node offline after current build.
Upvotes: 0
Views: 1354
Reputation: 1324248
I mentioned before an API for disconnecting a node: see more at "Monitor and Restart Offline Slaves".
That means you can add a post-build action, which would call this api though curl.
Upvotes: 1