Change branch to $GERRIT_BRANCH and refspec to $GERRIT_REFSPEC,
otherwise it always fetchs the master instead of my change
Change-Id: Id25e7e5edced5ed658df3ea655590604ce71e19d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
parameters:
- lf-infra-parameters:
project: '{project}'
parameters:
- lf-infra-parameters:
project: '{project}'
+ refspec: '{refspec}'
+ branch: '{branch}'
lftools-version: '{lftools-version}'
- string:
lftools-version: '{lftools-version}'
- string:
project-name: eliot
project: eliot
stream: master
project-name: eliot
project: eliot
stream: master
- branch: master
- refspec: refs/heads/master
+ refspec: '$GERRIT_REFSPEC'
+ branch: '$GERRIT_BRANCH'
build-node: centos7-builder-2c-1g
jobs:
- akraino-project-stream-verify
build-node: centos7-builder-2c-1g
jobs:
- akraino-project-stream-verify