目前,如果我通過SSH運行預構建步驟(它會進行備份......)並且超時,它只會將構建標記爲不穩定,但會繼續構建 - 對我而言非常糟糕!如何在Jenkins的SSH超時後將構建標記爲失敗?
這是我在日誌中看到:
ERROR: Exception when publishing, exception message [Exec timed out or was interrupted after 120 022 ms]
Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE
所以,問題是 - 如何阻止建立在超時?
不完全是我在這裏找的東西,但那個也不錯:-)。 – Nux