[转载]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上的临时目录下,然后再执行。

 

posted @ 2014-06-06 17:35  2000KM  Views(246)  Comments(0Edit  收藏  举报