Created
August 24, 2021 17:51
-
-
Save cmaggiulli/1c58befcd3825b93920ddd4c46599d9e to your computer and use it in GitHub Desktop.
Disconnect computer associated with Jenkins Cloud node like %pentaho%
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Jenkins.instance.nodes.find{ it.name.toLowerCase() ==~ /.*pentaho.*/ }.each{ println it?.computer?.disconnect() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment