From 9baa0b1c02fcea0d80e6c9866720e229677d9798 Mon Sep 17 00:00:00 2001 From: Illia Bobyr Date: Tue, 17 Oct 2023 20:20:59 -0700 Subject: [PATCH] ci/env.sh: Log `CI_BASE_BRANCH` (#33744) When debugging CI failures it helps when I can see all the variables set by `env.sh`. Order environment variables in the output to match the order they are set a bit better. `CI_BASE_BRANCH` was not set at all for unknown environment. Does not matter much, but it seems consistent to include it in the list next to all the other variables. --- ci/env.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/env.sh b/ci/env.sh index 131bfb88f..24e2fb9a0 100644 --- a/ci/env.sh +++ b/ci/env.sh @@ -116,6 +116,7 @@ if [[ -n $CI ]]; then else export CI= export CI_BRANCH= + export CI_BASE_BRANCH= export CI_BUILD_ID= export CI_COMMIT= export CI_JOB_ID= @@ -131,10 +132,12 @@ fi cat <