From: Zack Cerza Date: Tue, 22 Apr 2025 15:55:28 +0000 (-0600) Subject: ceph-dev-pipeline: Fix syntax error X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=66c4a606873f666714748b1b9f39514fb5395973;p=ceph-build.git ceph-dev-pipeline: Fix syntax error Signed-off-by: Zack Cerza --- diff --git a/ceph-dev-pipeline/build/Jenkinsfile b/ceph-dev-pipeline/build/Jenkinsfile index f09c81ae..f40841ef 100644 --- a/ceph-dev-pipeline/build/Jenkinsfile +++ b/ceph-dev-pipeline/build/Jenkinsfile @@ -351,11 +351,13 @@ pipeline { } } unsuccessful { - def os = get_os_info(env.DIST) - sh """#!/bin/bash - . ./scripts/build_utils.sh - update_build_status "failed" "ceph" ${os.name} ${os.version_name} $ARCH - """ + script { + def os = get_os_info(env.DIST) + sh """#!/bin/bash + . ./scripts/build_utils.sh + update_build_status "failed" "ceph" ${os.name} ${os.version_name} $ARCH + """ + } } } }