[英]Watch pom.xml file merged changes in Gerrit
我想通過查看pom.xml
中 maven 項目的合並更改來獲得 email 通知。 當我在 Gerrit 設置中進行以下更改時,它會抱怨服務器錯誤並出現以下錯誤:
Gerrit 設置 關注的項目
Project name - ABC (maven project name having pom.xml file)
Only if - 'branch:master file:^.*\.xml$'
錯誤
Invalid query: 'branch:master file:^.*\.xml$'
line 1:0 no viable alternative at character '''
Only if
通過引用鏈接給出值時:
有人可以建議如何解決它。
另外,請建議是否可以在Only if
中提供多個分支:
branch:master release/1.1
我可以使用以下搜索框進行查詢:
(branch:master OR branch:release/1.1) AND file:"^.*\.xml$"
我認為它也應該適用於觀看的項目。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.