From 09833d78e62748fb87c4e746c1944eb7518fc497 Mon Sep 17 00:00:00 2001 From: Noel Kwan <47273164+kwannoel@users.noreply.github.com> Date: Fri, 12 Jan 2024 10:46:51 +0800 Subject: [PATCH] fix(ci): fix microbenchmark upload step (#14508) --- ci/scripts/upload-micro-bench-results.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/upload-micro-bench-results.sh b/ci/scripts/upload-micro-bench-results.sh index e72b69950bb7..b01d09ee7196 100755 --- a/ci/scripts/upload-micro-bench-results.sh +++ b/ci/scripts/upload-micro-bench-results.sh @@ -24,7 +24,7 @@ get_branch() { get_date() { curl -H "Authorization: Bearer $BUILDKITE_TOKEN" \ "https://api.buildkite.com/v2/organizations/risingwavelabs/pipelines/main-cron/builds/$BUILDKITE_BUILD_NUMBER" \ - | jq '.jobs | .[] | select ( .name | contains("micro benchmark")) | .finished_at' \ + | jq '.jobs | .[] | select(.name != null) | select(.name | contains("micro benchmark")) | .finished_at' \ | sed 's/\.[0-9]*Z/Z/' \ | sed 's/\"//g' }