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