Merge "fix verify cann't fetch correct refs"
authorEric Ball <eball@linuxfoundation.org>
Tue, 26 Mar 2019 17:23:00 +0000 (17:23 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Tue, 26 Mar 2019 17:23:00 +0000 (17:23 +0000)
jjb/akraino-templates/akraino-jjb-templates.yaml

index 4a6f391..7514ff4 100644 (file)
       - 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