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 <wutianwei1@huawei.com>
- 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