From 128daefc32bb6f0a3d2e2e45dc73c31309cb2aa5 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 18 Sep 2025 12:22:56 -0600 Subject: [PATCH] ceph-dev-pipeline: Fix archive-skipping If sccache is supposed to be enabled, but isn't - for example due to the feature not being backported - we were still attempting to archive, and hanging. Check for the existence of the file directly. Signed-off-by: Zack Cerza --- ceph-dev-pipeline/build/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-dev-pipeline/build/Jenkinsfile b/ceph-dev-pipeline/build/Jenkinsfile index 78609acb..5ee07f38 100644 --- a/ceph-dev-pipeline/build/Jenkinsfile +++ b/ceph-dev-pipeline/build/Jenkinsfile @@ -505,7 +505,7 @@ pipeline { post { always { script { - if (env.SCCACHE?.trim() == "true") { + if (fileExists('dist/ceph/sccache_log.txt')) { sh """ if [ -f "${env.WORKSPACE}/dist/ceph/sccache_log.txt" ]; then ln dist/ceph/sccache_log.txt sccache_log_${env.DIST}_${env.ARCH}_${env.FLAVOR}.txt -- 2.39.5