* Migrate toolchain_test-merge to using zuul
* update toolchain_test-verify to use new scm macro
* drop the project and branch parameters as zuul doesn't honor them
anyway
Change-Id: I678bcc3c19477fa245de99d5bc4d09d822339e09
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
artifactDaysToKeep: '{build-artifact-days-to-keep}'
artifactNumToKeep: '{build-artifact-num-to-keep}'
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
-
scm:
- - git:
+ - zuul-trigger-scm:
credentials-id: '{ssh-credentials}'
- url: '$ZUUL_URL/$ZUUL_PROJECT'
refspec: '$ZUUL_REF'
- branches:
- - 'origin/$ZUUL_BRANCH'
- skip-tag: true
- wipe-workspace: true
wrappers:
- ssh-agent-credentials:
artifactDaysToKeep: '{build-artifact-days-to-keep}'
artifactNumToKeep: '{build-artifact-num-to-keep}'
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
-
scm:
- - gerrit-trigger-scm:
+ - zuul-trigger-scm:
credentials-id: '{ssh-credentials}'
refspec: ''
- choosing-strategy: 'default'
wrappers:
- ssh-agent-credentials:
users:
- '{ssh-credentials}'
- triggers:
- - gerrit-trigger-patch-merged:
- name: '{project}'
- branch: '{branch}'
-
builders:
- shell:
!include-raw-escape include-raw-toolchain_test-build.sh