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只能放在第一行,如果后面还有#!,那么只能看成是注释。

posted @ 2019-10-18 11:32  wangchaonan  阅读(22923)  评论(0编辑  收藏  举报