From a716bed2f175fd61f46a9ae96ead5aff780e4644 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Thu, 21 Mar 2019 11:22:48 +0800 Subject: [PATCH] fix verify cann't fetch correct refs When trigger the verify job, it cannot fetch the correct. It fetch the refs/heads/master instead of my changes. Change-Id: I6ec4c3262b48d13e39620f83b828df7d612f6044 Signed-off-by: wutianwei --- jjb/akraino-templates/akraino-jjb-templates.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/akraino-templates/akraino-jjb-templates.yaml b/jjb/akraino-templates/akraino-jjb-templates.yaml index 4a6f391..7514ff4 100644 --- a/jjb/akraino-templates/akraino-jjb-templates.yaml +++ b/jjb/akraino-templates/akraino-jjb-templates.yaml @@ -299,8 +299,8 @@ - lf-infra-gerrit-scm: jenkins-ssh-credential: '{jenkins-ssh-credential}' git-url: '{git-url}/{project}.git' - refspec: 'refs/heads/{branch}' - branch: '{branch}' + refspec: '$GERRIT_REFSPEC' + branch: '$GERRIT_BRANCH' submodule-recursive: '{submodule-recursive}' submodule-timeout: '{submodule-timeout}' choosing-strategy: default -- 2.16.6