Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2025-03-12 09:09:57 +00:00
parent a527e81858
commit 7eb03d3ceb
51 changed files with 344 additions and 380 deletions

View File

@ -546,9 +546,11 @@ function run_with_custom_exit_code() {
set +e # temporarily disable exit on error to prevent premature exit
# runs command passed in as argument, save standard error and standard output
output=$("$@" 2>&1)
output=$(set -e; "$@" 2>&1)
initial_exit_code=$?
echo "initial_exit_code: $initial_exit_code"
local trace_file="stdout_stderr_log.out"
echo "$output" | tee "$trace_file"