VOL-2147 Add manual trigger to per-patchset physical build
Change-Id: Ideaf47e7bd2fa5f3d199ecee598219fb07452cc2
diff --git a/jjb/voltha-e2e.yaml b/jjb/voltha-e2e.yaml
index ec36e40..db064c7 100644
--- a/jjb/voltha-e2e.yaml
+++ b/jjb/voltha-e2e.yaml
@@ -290,6 +290,11 @@
default: true
description: "Apply a Gerrit patchset during the build"
+ - bool:
+ name: released
+ default: false
+ description: "Pulls released version images when true"
+
concurrent: true
pipeline-scm:
@@ -300,6 +305,24 @@
branches:
- '{branch}'
+ triggers:
+ - gerrit:
+ server-name: '{gerrit-server-name}'
+ dependency-jobs: '{dependency-jobs}'
+ silent-start: false
+ successful-message: "PASSED hardware test"
+ failure-message: "FAILED hardware test"
+ unstable-message: "UNSTABLE hardware test"
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: '^hardware test$'
+ projects:
+ - project-compare-type: REG_EXP
+ project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-api-server)$'
+ branches:
+ - branch-compare-type: PLAIN
+ branch-pattern: 'master'
+
- job-template:
name: 'build_physical_voltha_patchset_test'
id: build_physical_voltha_patchset_test