From: Zack Cerza Date: Mon, 10 Nov 2025 21:37:35 +0000 (-0700) Subject: ceph-dev-pipeline: Avoid unhelpful error in post X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cdb6c4739aa31070db9b4bc46f3454b42f769485;p=ceph-build.git ceph-dev-pipeline: Avoid unhelpful error in post Some failures during node setup were making it look like the job failed because of a missing journal cursor file. Signed-off-by: Zack Cerza --- diff --git a/ceph-dev-pipeline/build/Jenkinsfile b/ceph-dev-pipeline/build/Jenkinsfile index 165a4026..5e555591 100644 --- a/ceph-dev-pipeline/build/Jenkinsfile +++ b/ceph-dev-pipeline/build/Jenkinsfile @@ -636,7 +636,7 @@ pipeline { always { script { sh 'hostname' - sh 'sudo journalctl -k -c $(cat ${WORKSPACE}/cursor)' + sh 'test -r ${WORKSPACE}/cursor && sudo journalctl -k -c $(cat ${WORKSPACE}/cursor)' sh 'podman unshare chown -R 0:0 ${WORKSPACE}/' } }