jenkins: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。

记一个在windows上使用jenkins执行py脚本时遇到的问题:
jenkins: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。
原因:构建时选择的Execute shell
jenkins: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。
解决:将Execute shell更换为Execute Windows batch command
jenkins: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。