From: Zack Cerza Date: Thu, 21 Aug 2025 22:48:42 +0000 (-0600) Subject: ceph-dev-pipeline: Do not require SHA1 property X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2431%2Fhead;p=ceph-build.git 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 --- 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()