osmith has uploaded this change for review.
jobs/gerrit: archive osmo-ccid-firmware artifacts
Prepare to use the built firmware in a new hwtest job.
Related: SYS#7963
Change-Id: Ib220f708725e502724ef0375130e7db77c6e91fa
---
M jobs/gerrit-verifications.yml
1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/34/42634/1
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index 53acd67..8405499 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -112,6 +112,7 @@
# Range from oldest supported Debian version to newest, see:
# https://gerrit.osmocom.org/c/osmo-ci/+/40861/comment/d35a8783_2a3833a4/
pipeline_binpkgs: "debian:11 debian:13"
+ artifacts: ""
# in alphabetical order
repos:
@@ -479,6 +480,11 @@
- osmo-ccid-firmware:
pipeline_binpkgs: ""
+ artifacts: "**/sysmoOCTSIM-*.bin"
+ cmd: |
+ {docker_run_ccache} \
+ -e SKIP_FIRMWARE_CLEAN=1 \
+ {docker_img} {wrapper_cmd} /build/contrib/jenkins.sh
- osmo-e1d
- osmo-cbc
@@ -830,9 +836,14 @@
builders:
- shell: '{obj:cmd}'
# Remove workspace on success to free up space
- - shell: 'rm -rf "$WORKSPACE"'
+ - shell: |
+ if [ -z "{artifacts}" ]; then
+ rm -rf "$WORKSPACE"
+ fi
publishers:
+ - archive:
+ artifacts: '{obj:artifacts}'
- warnings:
console-log-parsers:
- 'GNU C Compiler 4 (gcc)'
To view, visit change 42634. To unsubscribe, or for help writing mail filters, visit settings.