Add trigger to docker build pipelines
Change-Id: I3bb2cdd90cc0108e178db66f62ca4ea5bd61f7e9
diff --git a/jenkins/client/job/docker.yml b/jenkins/client/job/docker.yml
index f87dcf4..bf3fa8b 100644
--- a/jenkins/client/job/docker.yml
+++ b/jenkins/client/job/docker.yml
@@ -38,6 +38,21 @@
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
script: docker-build-image-pipeline.groovy
+ trigger:
+ gerrit:
+ project:
+ "mk/docker-{{name}}":
+ branches:
+ - master
+ event:
+ patchset:
+ - created:
+ excludeDrafts: false
+ excludeTrivialRebase: false
+ excludeNoCodeChange: false
+ comment:
+ - addedContains:
+ commentAddedCommentContains: '(recheck|reverify)'
param:
IMAGE_NAME:
type: string