![](/img/trans.png)
[英]Jenkins 2.3.5 Build Notification (Emailext, bitbucket build status notifier) Not Working
[英]Jenkins build notification affecting all branches in bitbucket
I have previously use Jenkins and BitBucket on premises and been able to have Jenkins notify bitbucket of the build condition of each individual branch (success, failed, in progress) however since I moved to bitbucket cloud it has started applying the condition of every build on每個分支到每個分支。 例如,如果我只有一個 master 和 develop 分支(為了簡單起見),並且 master 分支由於某些部署配置而失敗,我無法從 develop 合並一個修復程序,即使 develop 正在通過,因為它聲稱我的 2 個中的 1 個構建在開發分支上失敗。
這很難用文字解釋清楚,所以我附上了一些圖片:
這些通知來自 jenkins 並已使用標准 cloudbees-bitbucket-branch-source:2.9.7 插件設置以掃描我的比特桶雲。
好的,這是一個非常明顯的錯誤,但我想我會在這里留下發生這種情況的原因,以防有人犯同樣的錯誤。 cloudbees-bitbucket-branch-source:2.9.7 使用提交 ID 通知 bitbucket,在為存儲庫創建分支結構時,我從 main 分支進行開發,並且都已構建,但兩者都具有相同的提交 ID,因此兩者都被通知兩個版本。 該問題解決了它在第一個代碼循環中運行它的問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.