Fix SCM macro usage of refspec, branches
[ci-management.git] / jjb / akraino-templates / akraino-jjb-templates.yaml
index 82d34dd..52d4901 100644 (file)
       - lf-infra-gerrit-scm:
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
           git-url: '{git-url}/{project}.git'
-          refspec: ''
-          branch: '{branch}'
+          refspec: '$GERRIT_REFSPEC'
+          branch: '$GERRIT_BRANCH'
           submodule-recursive: true
           submodule-timeout: '{submodule-timeout}'
           submodule-disable: false