Jenkins Build step 'Execute shell' marked build as failure


Jenkins构建时运行脚本报错时:

Build step 'Execute shell' marked build as failure

1.磁盘空间不足导致报错。

2.请在“Execute shell”构建步骤中添加以下行。

#!/bin/bash

#!/bin/bash只能放在第一行,如果后面还有#!,那么只能看成是注释。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM