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上的临时目录下,然后再执行。
完!
公众号:AI人工智能时代。 每日AI新闻和技术博客,主页:https://www.theaiera.cn

浙公网安备 33010602011771号