Add email-prefix variable to templates 23/12323/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 29 Oct 2014 15:47:43 +0000 (11:47 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 29 Oct 2014 15:47:43 +0000 (11:47 -0400)
Change-Id: I1a8d97c47914b25a3a650a3bbcb27cb4102b3f27
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-templates.yaml

index 9f946d3628d8bf8cade4b78c0add3d173e87a47c..2524680769b6b9428828ecaa3dd99e1e29ac4fa5 100644 (file)
@@ -36,7 +36,7 @@
         - gerrit-trigger-scm:
             credentials-id: '{ssh-credentials}'
             scm-url: '{scm-url}'
-            refspec: 'origin/$GERRIT_REFSPEC'
+            refspec: '$GERRIT_REFSPEC'
 
     wrappers:
         - ssh-agent-credentials:
@@ -54,7 +54,8 @@
         maven-opts: '{mvn-opts}'
 
     publishers:
-        - email-notification
+        - email-notification:
+            email-prefix: '{email-prefix}'
 
 - job-template:
     name: '{name}-merge-{stream}'
         maven-opts: '{mvn-opts}'
 
     publishers:
-        - email-notification
+        - email-notification:
+            email-prefix: '{email-prefix}'
         - maven-deploy:
             id:
             url:
         maven-opts: '{mvn-opts}'
 
     publishers:
-        - email-notification
+        - email-notification:
+            email-prefix: '{email-prefix}'
         - sonar:
             branch: 'origin/{branch}'
             language: 'java'