Skip to content

Commit 35f3d09

Browse files
committed
ci: add retry mechanism and additional logging to release_sources job
- Added retry with max 2 attempts. - Included ls commands for better visibility of snapshot files. - Adjusted artifact naming for clarity. Signed-off-by: Huaqi Fang <[email protected]>
1 parent 6138a6d commit 35f3d09

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,18 +308,22 @@ build_ux900_flash_manual:
308308
release_sources:
309309
extends: .job_rules
310310
stage: build
311+
retry:
312+
max: 2
311313
needs:
312314
- job: build_ux900_flash
313315
script:
314316
- activate_swdev
315317
- make snapshot
316318
- snapshot_zip=($(ls -t1 GENERATED/snapshot/snapshot_*.zip))
319+
- ls -lh ${snapshot_zip}
317320
- cp -f ${snapshot_zip} linuxsdk_${CI_COMMIT_REF_NAME//\//\_}_${CI_COMMIT_SHA::8}.zip
321+
- ls -lh linuxsdk_*.zip
318322
artifacts:
319323
name: "nuclei_linuxsdk-job${CI_JOB_ID}_${CI_COMMIT_SHA::8}"
320324
paths:
321325
- buildroot/dl
322-
- linuxsdk_*.zip
326+
- linuxsdk_*_${CI_COMMIT_SHA::8}.zip
323327
expire_in: 2 day
324328

325329
## Job for run sim

0 commit comments

Comments
 (0)