]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-pipeline: Report build status to shaman
authorZack Cerza <zack@redhat.com>
Thu, 30 Jan 2025 18:10:33 +0000 (11:10 -0700)
committerZack Cerza <zack@cerza.org>
Wed, 5 Feb 2025 19:53:39 +0000 (12:53 -0700)
Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-dev-pipeline/build/Jenkinsfile

index f22bbeb6b150fda9af025d34077d7633c3dddcc5..7e2594f82c809f945390a26646e42c051269614f 100644 (file)
@@ -158,6 +158,22 @@ pipeline {
                 }
               }
             }
+            post {
+              success {
+                sh '''#!/bin/bash
+                . /etc/os-release
+                . ./scripts/build_utils.sh
+                update_build_status "completed" "ceph" $ID $VERSION_ID $ARCH
+                '''
+              }
+              unsuccessful {
+                sh '''#!/bin/bash
+                . /etc/os-release
+                . ./scripts/build_utils.sh
+                update_build_status "failed" "ceph" $ID $VERSION_ID $ARCH
+                '''
+              }
+            }
           }
           stage("container") {
             when {