def busyExecutors = Jenkins.instance.getNode("master_host").toComputer();
println "Busy Executors list"
println busyExecutors;
println busyExecutors.getExecutors().get(0)
println busyExecutors.getExecutors().get(0).interrupt()
在 xxx:8080/script 执行脚本