summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-helm.yaml
diff options
context:
space:
mode:
authorEric Ball <eball@linuxfoundation.org>2021-12-07 10:46:08 -0800
committerEric Ball <eball@linuxfoundation.org>2021-12-07 10:50:27 -0800
commitfde0bdaf61bdf59dfebc08124b4cadf8b554ebb2 (patch)
treeb332a2b2140022c1eb73f3d330daaf2624a1d8a0 /jjb/global-templates-helm.yaml
parentfd52e272a43bd87c2dc9f1c0004d6db811d4e863 (diff)
Fix: Add project info to helm-release trigger
The old version of this did not contain the necessary information for the Gerrit plugin to monitor changes for comments. Change-Id: I13be3f76f84b095f7f83ec558f923511cf6cb5d2 Issue-ID: CIMAN-33 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Diffstat (limited to 'jjb/global-templates-helm.yaml')
-rw-r--r--jjb/global-templates-helm.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/global-templates-helm.yaml b/jjb/global-templates-helm.yaml
index 0e5986ab5..df2ef5c89 100644
--- a/jjb/global-templates-helm.yaml
+++ b/jjb/global-templates-helm.yaml
@@ -232,9 +232,19 @@
triggers:
- gerrit:
+ server-name: '{gerrit-server-name}'
trigger-on:
- comment-added-contains-event:
comment-contains-value: '^Patch Set\s+\d+:\s+release-helm\s*$'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'ANT'
+ pattern: '**'
builders:
- lf-infra-pre-build