From 6afad1360ab08317b1d6a13fe0ad39428511266a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cmbt1=E2=80=9D?= Date: Wed, 20 Dec 2023 02:34:32 +0000 Subject: [PATCH 1/2] added xml test to pipeline --- CI/Azure-DevOps/AZ_MainPipeline.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CI/Azure-DevOps/AZ_MainPipeline.yml b/CI/Azure-DevOps/AZ_MainPipeline.yml index 9e62f375e..3b31249c4 100644 --- a/CI/Azure-DevOps/AZ_MainPipeline.yml +++ b/CI/Azure-DevOps/AZ_MainPipeline.yml @@ -196,6 +196,25 @@ stages: $DS = Invoke-Sqlcmd -Query "SELECT SUSER_NAME() U,SYSDATETIME() T,@@VERSION V;" -ServerInstance "$(CreateSQLVMEnvironment.FQDNAndPort)" -Username "$(CreateSQLVMEnvironment.SQLUserName)" -Password "$(CreateSQLVMEnvironment.SQLPwd)" -As DataSet -TrustServerCertificate $DS.Tables[0].Rows | %{ echo "{ $($_['U']), $($_['T']), $($_['V']) }" } + - task: PowerShell@2 + name: XMLIllegalCharTest + env: + USER_NAME: $(tSQLt-UserForCIEnvironment-UserName) + PASSWORD: $(tSQLt-UserForCIEnvironment-Password) + inputs: + targetType: 'inline' + script: | + $DS = Invoke-Sqlcmd -Query "DECLARE @X XML=(SELECT 1 Tag,NULL Parent,char(8) [x!1] FOR XML EXPLICIT);" -ServerInstance "$(CreateSQLVMEnvironment.FQDNAndPort)" -Username "$(CreateSQLVMEnvironment.SQLUserName)" -Password "$(CreateSQLVMEnvironment.SQLPwd)" -As DataSet -TrustServerCertificate + $DS.Tables[0].Rows | %{ echo "{ $($_['U']), $($_['T']), $($_['V']) }" } + + - task: PowerShell@2 + name: break + env: + inputs: + targetType: 'inline' + script: | + echo 1/0 + - stage: Build_tSQLt_Part1 dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel From 1d0c5d2e77cb366a573e69f82beb37811e40887a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cmbt1=E2=80=9D?= Date: Wed, 20 Dec 2023 02:36:06 +0000 Subject: [PATCH 2/2] ..... --- CI/Azure-DevOps/AZ_MainPipeline.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/CI/Azure-DevOps/AZ_MainPipeline.yml b/CI/Azure-DevOps/AZ_MainPipeline.yml index 3b31249c4..2af974635 100644 --- a/CI/Azure-DevOps/AZ_MainPipeline.yml +++ b/CI/Azure-DevOps/AZ_MainPipeline.yml @@ -209,7 +209,6 @@ stages: - task: PowerShell@2 name: break - env: inputs: targetType: 'inline' script: |