簡體   English   中英

分支的Bitbucket掛鈎構建不適用於Jenkins

[英]Bitbucket hook build from branch does not work for Jenkins

我讓詹金斯(Jenkins)從事SonarQube分析工作,具有以下價值:

GIT SSH URL - set correctly
Branch Specifier - "**"

在Bitbucket中,我給出了以下值:

Jenkins URL - http://101.101.101.101:8080/Jenkins
Skip SSL Certificate - Enabled
Omit SHA1 Hash Code - Unchecked
Omit Branch Name - Unchecked
Omit the Trigger Build Button - Unchecked
Advanced Config:
Committers to Ignore - Blank
Branch Options - Build All selected and Blank field

我希望Bitbucket僅在代碼被合並(從拉取請求)到特定分支時才觸發Jenkins。

我在Bitbucket中嘗試了以下設置:

Branch Options - Build From selected and "release/Integeration" in the field

仍然觸發每個分支的更改。

我在Bitbucket中嘗試過:

Branch Options - Build From selected and "ref/heads/release/Integeration" in the field

現在什么都沒有觸發。

假設您將Bitbucket的HOOK與Jenkins的Parameterized Builds插件一起使用,並假設您在Bitbucket中使用該插件設置了工作。 如果是這樣,您是否僅定義了拉取請求(PR)觸發器?

在此處輸入圖片說明

在此處輸入圖片說明

在此處輸入圖片說明

暫無
暫無

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

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