[转载]Jenkins中执行batch和Python

Jenkins的job->build 支持Ant,maven,windows batch和Shell, 但是我们知道python,perl,ruby等脚本其实也是shell脚本,所以这里的Shell可以扩展为python,perl,ruby等。

例如: 下面执行windows batch 和python

 

执行后的输入如下:

 

可以看到windows batch和shell脚本被保存到slave上的临时目录下,然后再执行。

原文地址:https://www.cnblogs.com/2000km/p/3773063.html