Skip to content

Commit c7f092c

Browse files
committed
User Story 38351: Add Debug CI runs
- Getting better diagnostics from macOS SQL Server setup step.
1 parent 034c46b commit c7f092c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eng/pipelines/common/templates/steps/configure-sql-server-macos-step.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ steps:
4949
do
5050
echo "Waiting for SQL Server to start (attempt #$counter)..."
5151
sleep 3
52-
cmd="sqlcmd -S 127.0.0.1 -No -U sa -P $MSSQL_SA_PW -Q 'SELECT @@VERSION'"
53-
echo $cmd >>$SQLCMD_ERRORS
54-
$cmd 2>>$SQLCMD_ERRORS
52+
cmd="sqlcmd -S 127.0.0.1 -No -U sa -P \"$MSSQL_SA_PW\" -Q \"SELECT @@VERSION\""
53+
echo "$cmd" >> $SQLCMD_ERRORS
54+
$cmd >> $SQLCMD_ERRORS 2>&1
5555
errstatus=$?
5656
((counter++))
5757
done

0 commit comments

Comments
 (0)