ci: Cleanup workspace after upload procedure
Some checks failed
Maintenance / cherry_pick_adi (push) Has been cancelled
Maintenance / cherry_pick_rpi (push) Has been cancelled
Maintenance / assert (push) Has been cancelled
Maintenance / migrate_main (push) Has been cancelled
Kernel build / checks (push) Has been cancelled
Kernel build / build_gcc_x86_64 (push) Has been cancelled
Kernel build / build_llvm_x86_64 (push) Has been cancelled
Kernel build / build_gcc_aarch64 (push) Has been cancelled
Kernel build / build_gcc_arm (push) Has been cancelled
Kernel build / assert_checks (push) Has been cancelled
Kernel build / deploy_cloudsmith_checks (push) Has been cancelled
Kernel build / build_gcc_arm_zynq_xcomm_adv7511_defconfig (push) Has been cancelled
Kernel build / build_gcc_arm_socfpga_adi_defconfig (push) Has been cancelled
Kernel build / build_gcc_arm_zynq_pluto_defconfig (push) Has been cancelled
Kernel build / build_gcc_arm_zynq_m2k_defconfig (push) Has been cancelled
Kernel build / build_gcc_aarch64_adi_zynqmp_defconfig (push) Has been cancelled
Kernel build / build_gcc_arm_adi_versal_defconfig (push) Has been cancelled
Kernel build / build_gcc_microblaze_adi_mb_defconfig (push) Has been cancelled
Kernel build / build_gcc_nios2_adi_nios2_defconfig (push) Has been cancelled
Kernel build / compile_devicetrees (push) Has been cancelled
Kernel build / assert_build (push) Has been cancelled
Kernel build / deploy_cloudsmith_build (push) Has been cancelled

Signed-off-by: Liviu Tomoiaga <Liviu.Tomoiaga@analog.com>
This commit is contained in:
Liviu Tomoiaga
2026-02-05 16:45:43 +02:00
committed by liviutomoiaga
parent 6f3d5a4e22
commit cf7f213dcd

View File

@@ -152,7 +152,7 @@ stages:
# - PRs (non-fork) targeting: main, next_stable, or 202* release branches
# - Direct pushes to: main, next_stable, or 202* release branches
- job: Push_to_Artifactory
timeoutInMinutes: 90
timeoutInMinutes: 120
pool:
name: Default
demands:
@@ -186,6 +186,15 @@ stages:
ARTIFACTORY_TOKEN: $(ART_TOKEN)
name: PushArtifacts
displayName: "Push to Artifactory"
- bash: |
cd $(Build.SourcesDirectory)/bin
TIMESTAMP=$(PushArtifacts.TIMESTAMP)
if [ -d "$TIMESTAMP" ]; then
echo "Cleaning up artifact directory: $TIMESTAMP"
rm -rf "$TIMESTAMP"
fi
displayName: "Cleanup artifacts"
condition: always()
- job: Publish_to_Cloudsmith
timeoutInMinutes: 120
condition: or(
@@ -223,6 +232,15 @@ stages:
CLOUDSMITH_API_KEY: $(CLOUDSMITH_API_KEY)
name: PushArtifacts
displayName: "Push to Cloudsmith"
- bash: |
cd $(Build.SourcesDirectory)/bin
TIMESTAMP=$(PushArtifacts.TIMESTAMP)
if [ -d "$TIMESTAMP" ]; then
echo "Cleaning up artifact directory: $TIMESTAMP"
rm -rf "$TIMESTAMP"
fi
displayName: "Cleanup artifacts"
condition: always()
- stage: TestHarness
dependsOn: PushArtifacts
condition: succeeded()