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.
Asked
Active
Viewed 1,061 times
1 Answers
1
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.

VonC
- 1,262,500
- 529
- 4,410
- 5,250