Skip to content

Commit b862e11

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

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ parameters:
1919
steps:
2020
# macOS only steps
2121
- bash: |
22+
set -x
23+
2224
# The "user" pipeline variable conflicts with homebrew, causing errors during install. Set it back to the pipeline user.
2325
USER=`whoami`
2426
SQLCMD_ERRORS=$(Agent.TempDirectory)/sqlcmd_err.log
@@ -34,7 +36,10 @@ steps:
3436
docker pull mcr.microsoft.com/mssql/server:2022-latest
3537
3638
# Password for the SA user (required)
37-
MSSQL_SA_PW=${{parameters.password }}
39+
MSSQL_SA_PW=${{ parameters.password }}
40+
41+
echo Parameter: ${{ parameters.password }}
42+
echo Password: $MSSQL_SA_PW
3843
3944
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=$MSSQL_SA_PW" -p 1433:1433 -p 1434:1434 --name sql1 --hostname sql1 -d mcr.microsoft.com/mssql/server:2022-latest
4045

0 commit comments

Comments
 (0)