Skip to content

Commit ed50b7e

Browse files
authored
Adding EnableVerboseLogging FF in the SqlDacpacDeploymentOnMachineGroupV0task (#21555)
* Added EnableVerboseLogging FF * Updated the task version * Updated the TaskModuleSqlUtility and VstsTaskSdk version * updated the version
1 parent aba1be5 commit ed50b7e

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Tasks/SqlDacpacDeploymentOnMachineGroupV0/Main.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ Try
180180
}
181181
else
182182
{
183-
Invoke-SqlQueryDeployment -taskType $taskType -inlineSql $inlineSql -serverName $serverName -databaseName $databaseName -authscheme $authscheme -sqlServerCredentials $sqlServerCredentials -additionalArguments $additionalArguments
183+
$enableVerboseLogging = Get-VstsPipelineFeature -FeatureName "EnableVerboseLogging"
184+
Invoke-SqlQueryDeployment -taskType $taskType -inlineSql $inlineSql -serverName $serverName -databaseName $databaseName -authscheme $authscheme -sqlServerCredentials $sqlServerCredentials -additionalArguments $additionalArguments -enableVerboseLogging $enableVerboseLogging
184185
}
185186
}
186187
}

Tasks/SqlDacpacDeploymentOnMachineGroupV0/make.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"nugetv2": [
44
{
55
"name": "TaskModuleSqlUtility",
6-
"version": "0.1.5",
6+
"version": "0.1.7",
77
"repository": "https://www.powershellgallery.com/api/v2/",
88
"cp": [
99
{
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"name": "VstsTaskSdk",
17-
"version": "0.8.2",
17+
"version": "0.21.0",
1818
"repository": "https://www.powershellgallery.com/api/v2/",
1919
"cp": [
2020
{

Tasks/SqlDacpacDeploymentOnMachineGroupV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 0,
19-
"Minor": 198,
19+
"Minor": 267,
2020
"Patch": 0
2121
},
2222
"demands": [],

Tasks/SqlDacpacDeploymentOnMachineGroupV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 0,
19-
"Minor": 198,
19+
"Minor": 267,
2020
"Patch": 0
2121
},
2222
"demands": [],

0 commit comments

Comments
 (0)