This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-test-infra.git


The following commit(s) were added to refs/heads/master by this push:
     new 66c4355  Add debug logging
66c4355 is described below

commit 66c4355f1715738eceaee25119292ac4015f3466
Author: Lari Hotari <[email protected]>
AuthorDate: Wed Oct 29 15:18:45 2025 +0200

    Add debug logging
---
 pulsarbot/entrypoint.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pulsarbot/entrypoint.sh b/pulsarbot/entrypoint.sh
index ffc3149..18838c5 100755
--- a/pulsarbot/entrypoint.sh
+++ b/pulsarbot/entrypoint.sh
@@ -103,7 +103,10 @@ function get_all_runs() {
 
 # return url and name for failed or cancelled jobs that are the most recent 
ones for each workflow
 function find_failed_or_cancelled() {
-    get_all_runs | filter_oldruns \
+    local all_runs=$(get_all_runs)
+    echo "All runs:"
+    echo "$all_runs"
+    printf "%s" "$all_runs" | filter_oldruns \
       | awk '
       BEGIN { FPAT="([^,]+)|(\"[^\"]+\")" } 
       { 

Reply via email to