我正在尝试从github存储库中的Jenkins构建EC2实例,尽管代码在本地计算机上成功使用terraform成功,但在jenkins上却报错
我已经成功地在本地计算机上应用了资源。我在jenkins上安装了一些插件,但是当我尝试构建项目时,出现错误
我期望成功,但这是我得到的错误
$ sh -xe C:\WINDOWS\TEMP\jenkins7942051263326432266.sh
The system cannot find the file specified
FATAL: command execution failed`java.io.IOException: CreateProcess error=2, The system cannot find the file specified`
at java.lang.ProcessImpl.create(Native Method)`
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
Caused: java.io.IOException: Cannot run program "sh" (in directory`"C:\Program Files (x86)\Jenkins\workspace\Autoscaling"): "