Jenkins Build step 'Execute shell' marked build as failure

时间:2019-10-18 12:08:21   收藏:0   阅读:1833

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

Build step ‘Execute shell‘ marked build as failure

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

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

#!/bin/bash

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

原文:https://www.cnblogs.com/wangchaonan/p/11697415.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!