I would like to prevent a Jenkins node from executing any further jobs once it has completed those jobs it is already executing.
How can I go about this? I have currently be telling Jenkins to prepare for shutdown. This incorrectly stops new job allocation to all nodes.
Abort the job by clicking the red X next to the build progress bar. Click on "Pause/resume" on the build to pause. Click on "Pause/resume" again to resume the build.
Use Authorize Project plugin to assign authentication to your builds. Then Just set Computer/Build permissions for you nodes (Can be done in Role Strategy plugin for example) Use Job Restrictions Plugin to restrict access to node via Node properties.
There is a "Mark this node temporarily offline" button in the top right corner of the node's page:
http://<server>:<port>/computer/<node>/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With