簡體   English   中英

Jenkins 參數化遠程觸發器插件返回錯誤構建的狀態

[英]Jenkins Parameterized Remote Trigger Plugin Returning the Status of the Wrong Build

我在 Jenkins 中使用參數化遠程觸發器插件來啟動遠程作業,但它返回構建狀態,而不是它啟動的狀態。 在遠程構建完成之前,我有觸發步驟阻塞,所以它也導致它過早返回,因為在某些情況下它返回已經完成的構建的狀態。

自從看到這個錯誤后,我選擇了觸發步驟的選項,等待直到沒有構建正在運行。 這應該可以防止觸發步驟返回已經在運行的構建的狀態,這是問題的一部分,但在沒有構建正在運行時也會發生這種情況。

下面的控制台輸出來自遠程作業當前未運行的構建:

Triggering this remote job: <job name>
Not checking if the remote job <job name> is building.
Triggering remote job now.
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Checking parameters of #55
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Query failed.
Checking parameters of #54
Param <param> doesn't match!
Checking parameters of #56
Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
Query failed.
Checking parameters of #53
This job is build #[53] on the remote server.
Blocking local job until remote job completes
Remote build started!
Remote build finished with status SUCCESS.

所以我的問題本質上是如何防止這種情況發生? 我還沒有在網上找到任何類似這個問題的東西,所以任何見解都將不勝感激。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM