From: Zack Cerza Date: Thu, 18 Sep 2025 18:22:56 +0000 (-0600) Subject: ceph-dev-pipeline: Fix archive-skipping X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=128daefc32bb6f0a3d2e2e45dc73c31309cb2aa5;p=ceph-build.git 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 --- 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