From f7e5a5e5613b9a699e86e2bab9cb9db84f06e980 Mon Sep 17 00:00:00 2001
From: Zhijiang Hu <hu.zhijiang@zte.com.cn>
Date: Fri, 21 Oct 2016 04:58:23 -0400
Subject: predefined-parameters complement for daisy verify jobs

Try to solve "Error fetching remote repo 'origin' GERRIT_REFSPEC"
problem.

Change-Id: I0631be6cced09aa816afab9471c1351e69a5bda7
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
---
 jjb/daisy4nfv/daisy4nfv-verify-jobs.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/jjb/daisy4nfv/daisy4nfv-verify-jobs.yml b/jjb/daisy4nfv/daisy4nfv-verify-jobs.yml
index 7c47d9f69..d2adafdfa 100644
--- a/jjb/daisy4nfv/daisy4nfv-verify-jobs.yml
+++ b/jjb/daisy4nfv/daisy4nfv-verify-jobs.yml
@@ -101,6 +101,11 @@
             projects:
                 - name: 'daisy4nfv-verify-basic-{stream}'
                   current-parameters: false
+                  predefined-parameters: |
+                    GERRIT_BRANCH=$GERRIT_BRANCH
+                    GERRIT_REFSPEC=$GERRIT_REFSPEC
+                    GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
+                    GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                   node-parameters: false
                   kill-phase-on: FAILURE
                   abort-all-job: true
@@ -110,6 +115,11 @@
             projects:
                 - name: 'daisy4nfv-verify-build-{stream}'
                   current-parameters: false
+                  predefined-parameters: |
+                    GERRIT_BRANCH=$GERRIT_BRANCH
+                    GERRIT_REFSPEC=$GERRIT_REFSPEC
+                    GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
+                    GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                   node-parameters: false
                   kill-phase-on: FAILURE
                   abort-all-job: true
@@ -119,6 +129,11 @@
             projects:
                 - name: 'daisy4nfv-verify-deploy-virtual-{stream}'
                   current-parameters: false
+                  predefined-parameters: |
+                    GERRIT_BRANCH=$GERRIT_BRANCH
+                    GERRIT_REFSPEC=$GERRIT_REFSPEC
+                    GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
+                    GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                   node-parameters: false
                   kill-phase-on: FAILURE
                   abort-all-job: true
@@ -128,6 +143,11 @@
             projects:
                 - name: 'daisy4nfv-verify-smoke-test-{stream}'
                   current-parameters: false
+                  predefined-parameters: |
+                    GERRIT_BRANCH=$GERRIT_BRANCH
+                    GERRIT_REFSPEC=$GERRIT_REFSPEC
+                    GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
+                    GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                   node-parameters: false
                   kill-phase-on: FAILURE
                   abort-all-job: true
-- 
cgit