一千萬個為什麽

搜索

在Bamboo中保留至少一個成功的構建



在Jenkins中,您可以配置系統以保留一定數量的成功或失敗構建。

使用Bamboo,似乎可以保留一定數量的構建,這些構建在系統失敗10次構建之後輪換上次成功構建。

Bamboo有沒有辦法在無限的時間內保留最後的成功構建?

UPD wait, but is that true with the 10 builds limitation, really? I have just realized that I could click the UI through the whole build history, both successful and unsuccessful builds. http://imgur.com/a/JnJ9v

轉載註明原文: 在Bamboo中保留至少一個成功的構建

一共有 1 個回答:

恕我直言,如果您的成功構建不會推送到工件存儲庫,那麽您的管道中存在問題。

詹金斯或竹子做的不是 的目標是永遠保留構建的工件,他們不會給你任何版本交付,因為這是你的交付系統的一個失敗點。

我建議檢查一下使用工件存儲庫的方法,這將解決這個XY問題,即在用作工件源的構建系統內保持成功的構建。

Note: I can't speak for Bamboo's team, but adding this capacity involves raising the code complexity for a 'side usage'. As such it can makes sense Bamboo's team avoid it to avoid adding code complexity for a feature not in their overall goal. I don't think they avoid it to enforce a best practice, but more to avoid raising unnecessary (from the product point of view) complexity to their code base.