Jenkins构建时运行脚本报错时:
Build step 'Execute shell' marked build as failure
1.磁盘空间不足导致报错。
2.请在“Execute shell”构建步骤中添加以下行。
#!/bin/bash
#!/bin/bash只能放在第一行,如果后面还有#!,那么只能看成是注释。