From a52cfd1a127506a4912dc4c3796768c17a700ad1 Mon Sep 17 00:00:00 2001 From: ludamad Date: Tue, 19 Sep 2023 09:30:57 +0100 Subject: [PATCH] chore: try print env [debug ci] --- build-system/scripts/cond_spot_run_test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-system/scripts/cond_spot_run_test b/build-system/scripts/cond_spot_run_test index e4e83649995c..0c00414c505c 100755 --- a/build-system/scripts/cond_spot_run_test +++ b/build-system/scripts/cond_spot_run_test @@ -1,4 +1,5 @@ #!/bin/bash +env [ -n "${BUILD_SYSTEM_DEBUG:-}" ] && set -x # conditionally trace set -euo pipefail @@ -13,4 +14,5 @@ SCRIPT=$(query_manifest relativeProjectDir $REPOSITORY)/$SCRIPT # Specify a TAG_POSTFIX as the JOB_NAME mkdir -p /tmp/test-logs -TAG_POSTFIX=$JOB_NAME cond_spot_run_script $REPOSITORY $CPUS $SCRIPT $@ | tee "/tmp/test-logs/$JOB_NAME.log" +export TAG_POSTFIX=$JOB_NAME +cond_spot_run_script $REPOSITORY $CPUS $SCRIPT $@ | tee "/tmp/test-logs/$JOB_NAME.log"