This prevents the functional tests for x86_64 to start when
the build job for aarch64 completes. Since the success message
triggering the functional test was the same for x86_64 and aarch64,
there was no way to distinguish what build jobs completed first.
Also:
Archive *.deb artifacts to be reused in functest jobs, thus avoiding
to compile the code twice.
Change-Id: Ibef007eabd57ff417aff1a55e949c11e2e2d9d6a
Signed-off-by: Mauro Sardara <[email protected]>
server-name: 'Primary'
trigger-on:
- comment-added-contains-event:
- comment-contains-value: 'build_success'
+ comment-contains-value: 'build_success-{stream}-{os}-{executor-arch}'
projects:
- project-compare-type: 'ANT'
project-pattern: '{name}'
notbuilt-message: "Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes."
# yamllint disable-line rule:line-length
failed-message: "Build failed. No further verify jobs will be started."
- successful-message: "build_success"
+ successful-message: "build_success-{stream}-{os}-{executor-arch}"
skip-vote:
successful: true
failed: false
publishers:
- fdio-infra-publish
+ - archive-artifacts:
+ artifacts: "packages/*.deb, packages/*.rpm"
- job-template:
name: "hicn-verify-functest-{stream}-{os}-{executor-arch}"
- gerrit-trigger-build:
name: "{project}"
branch: "{branch}"
+ stream: "{stream}"
+ os: "{os}"
+ executor-arch: "{executor-arch}"
builders:
- shell: !include-raw-escape: