]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-pipeline: Fix syntax error
authorZack Cerza <zack@cerza.org>
Tue, 22 Apr 2025 15:55:28 +0000 (09:55 -0600)
committerZack Cerza <zack@cerza.org>
Tue, 22 Apr 2025 15:56:33 +0000 (09:56 -0600)
Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-dev-pipeline/build/Jenkinsfile

index f09c81ae26e09ec2fd7b7d49fcab88a4753cd684..f40841ef5254f2adfe254dcf27e504c1aaf2fcf5 100644 (file)
@@ -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
+                  """
+                }
               }
             }
           }