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

Build step 'Execute shell' marked build as failure

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

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

#!/bin/bash

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

相关文章:

  • 2021-12-29
  • 2022-12-23
  • 2021-05-19
  • 2021-06-01
  • 2022-12-23
  • 2022-02-21
  • 2021-11-14
猜你喜欢
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2021-06-30
  • 2021-08-14
  • 2021-04-19
  • 2022-01-08
相关资源
相似解决方案