在项目配置面板的构建步骤部分,我可以执行windows批处理命令。
有什么办法可以用它来执行linux命令吗?还有其他办法吗?
最佳答案
您可以在 Cygwin 中运行脚本:
喜欢以下内容:
C:\cygwin\bin\bash mysript.sh
Cygwin 的目的是通过 cygwin1.dll 模拟 POSIX 层,使基于 unix 的应用程序更容易移植到 Windows
关于c - windows shell中jenkins中linux命令的使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32823165/