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

rombert pushed a commit to branch feat/llmao
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git


The following commit(s) were added to refs/heads/feat/llmao by this push:
     new 6617691  fix: diagnose why pi does not return as expected
6617691 is described below

commit 6617691780daaee7c27c2d1d2b22076dc001b6b0
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Oct 12 18:08:16 2026 +0100

    fix: diagnose why pi does not return as expected
---
 resources/org/apache/sling/jenkins/llmao/run-docker.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/resources/org/apache/sling/jenkins/llmao/run-docker.sh 
b/resources/org/apache/sling/jenkins/llmao/run-docker.sh
index 219eb39..d1101b7 100644
--- a/resources/org/apache/sling/jenkins/llmao/run-docker.sh
+++ b/resources/org/apache/sling/jenkins/llmao/run-docker.sh
@@ -48,7 +48,10 @@ if [ "$status" -eq 0 ] && [ "$result" = SUCCESS ]; then
 else
     echo FAILURE
     if [ "$status" -eq 0 ]; then
-        [ "$result" = FAILURE ] || echo 'Pi did not return exactly SUCCESS or 
FAILURE.' >&2
+        if [ "$result" != FAILURE ]; then
+            echo 'Pi did not return exactly SUCCESS or FAILURE.' >&2
+            printf 'Unexpected Pi response: <%s>\n' "$result" >&2
+        fi
         status=1
     fi
 fi

Reply via email to