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>
diff --git a/jjb/global-templates-helm.yaml b/jjb/global-templates-helm.yaml
index 0e5986a..df2ef5c 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