Skip to content

Commit e773b65

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 <578567190@qq.com>
1 parent 2a77b93 commit e773b65

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,18 +320,22 @@ build_ux900_flash_manual:
320320
release_sources:
321321
extends: .job_rules
322322
stage: build
323+
retry:
324+
max: 2
323325
needs:
324326
- job: build_ux900_flash
325327
script:
326328
- activate_swdev
327329
- make snapshot
328330
- snapshot_zip=($(ls -t1 GENERATED/snapshot/snapshot_*.zip))
331+
- ls -lh ${snapshot_zip}
329332
- cp -f ${snapshot_zip} linuxsdk_${CI_COMMIT_REF_NAME//\//\_}_${CI_COMMIT_SHA::8}.zip
333+
- ls -lh linuxsdk_*.zip
330334
artifacts:
331335
name: "nuclei_linuxsdk-job${CI_JOB_ID}_${CI_COMMIT_SHA::8}"
332336
paths:
333337
- buildroot/dl
334-
- linuxsdk_*.zip
338+
- linuxsdk_*_${CI_COMMIT_SHA::8}.zip
335339
expire_in: 2 day
336340

337341
## Job for run sim

0 commit comments

Comments
 (0)