jenkinsapi
remote controll jenkins and trigger job by call it's api
document:http://packages.python.org/jenkinsapi/jenkinsapi.html#module-jenkinsapi.api
code:
http://pypi.python.org/pypi/jenkinsapi#downloads
将slave连接到jenkins的服务器上,
在slave上运行命令:
>javaws http://172.21.14.18:8080/computer/mcd-test/slave-agent.jnlp
格式:javaws http://serverIP:port/computer/node