Created
November 28, 2023 08:12
-
-
Save pascal-hofmann/8881e802db14254ee44bcd3c64e8dc7f to your computer and use it in GitHub Desktop.
Determine how jenkins agents are connected to the controller
This file contains 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.slaves.each { | |
agent -> | |
println("${agent.name} ${agent.computer.getSystemProperties()["sun.java.command"]}") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment