From 008a2548013ed4687c5dd5912491ebf626cfc3d8 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 21 Aug 2025 16:48:42 -0600 Subject: [PATCH] ceph-dev-pipeline: Do not require SHA1 property dd70a303 inadvertently made the SHA1 property mandatory; correct that. Fixes: https://tracker.ceph.com/issues/72693 Signed-off-by: Zack Cerza --- ceph-dev-pipeline/build/Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceph-dev-pipeline/build/Jenkinsfile b/ceph-dev-pipeline/build/Jenkinsfile index 196be2c18..6406da6f5 100644 --- a/ceph-dev-pipeline/build/Jenkinsfile +++ b/ceph-dev-pipeline/build/Jenkinsfile @@ -269,6 +269,8 @@ pipeline { sha1_from_artifact = sha1_props.SHA1.trim().toLowerCase() if ( env.SHA1 && sha1_from_artifact != sha1_trimmed ) { error message: "SHA1 from artifact (${sha1_from_artifact}) does not match parameter value (${sha1_trimmed})" + } else if ( ! env.SHA1 ) { + env.SHA1 = sha1_from_artifact } println "SHA1=${sha1_trimmed}" env.VERSION = readFile(file: "${WORKSPACE}/dist/version").trim() -- 2.47.3