From cdb6c4739aa31070db9b4bc46f3454b42f769485 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 10 Nov 2025 14:37:35 -0700 Subject: [PATCH] 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 --- 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 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}/' } } -- 2.39.5