Skip to content

Commit 81b19b6

Browse files
committed
fix: isolation
1 parent 00d9e86 commit 81b19b6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

integration_test.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ for group in "${!BUILD_TARGET_GROUPS[@]}"; do
159159

160160
# 1. Clean Bazel to ensure a fresh build for CodeQL tracing
161161
echo "Running 'bazel clean --expunge' and 'bazel shutdown'..."
162-
bazel clean --expunge --output_base="${current_bazel_output_base}" || { echo "Bazel clean failed for ${group}"; exit 1; }
163-
bazel shutdown --output_base="${current_bazel_output_base}" || { echo "Bazel shutdown failed for ${group}"; exit 1; }
162+
bazel --output_base="${current_bazel_output_base}" clean --expunge || { echo "Bazel clean failed for ${group}"; exit 1; }
163+
bazel --output_base="${current_bazel_output_base}" shutdown || { echo "Bazel shutdown failed for ${group}"; exit 1; }
164164

165165
# Log build group banner only to stdout/stderr (not into summary table file)
166166
echo "--- Building group: ${group} ---"
@@ -170,8 +170,7 @@ for group in "${!BUILD_TARGET_GROUPS[@]}"; do
170170
echo "::group::Bazel build (${group})"
171171
set +e
172172

173-
build_command="bazel build \
174-
--output_base=\\\"${current_bazel_output_base}\\\" \
173+
build_command="bazel --output_base=\\\"${current_bazel_output_base}\\\" build \
175174
--config '${CONFIG}' \
176175
${targets} \
177176
--verbose_failures \

0 commit comments

Comments
 (0)