From fde0bdaf61bdf59dfebc08124b4cadf8b554ebb2 Mon Sep 17 00:00:00 2001 From: Eric Ball Date: Tue, 7 Dec 2021 10:46:08 -0800 Subject: 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 --- jjb/global-templates-helm.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'jjb') 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 -- cgit 1.2.3-korg