0

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.

1 Answers1

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