Skip to content

Commit 3613bc7

Browse files
rumyaxDmitrii Bobreshev (Akvelon INC)DmitriiBobreshev
authored
Add deprecationMessage for deprecated tasks (#19443)
* add deprecationMessage for deprecated tasks * CondaEnvironmentV1 - change _buildConfigMapping * make options * fix typo * Add deprecationMessage for deprecated tasks - Removed Node20 handler from base tasks * Add deprecationMessage for deprecated tasks - Fixed ci check with XamarinTestCloudV1 * Add deprecationMessage for deprecated tasks - Fixed ci check with XamarinTestCloudV1 --------- Co-authored-by: Dmitrii Bobreshev (Akvelon INC) <[email protected]> Co-authored-by: Dmitrii Bobreshev <[email protected]>
1 parent 535f814 commit 3613bc7

File tree

46 files changed

+123
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+123
-90
lines changed

Tasks/AppCenterDistributeV1/task.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
"category": "Deploy",
99
"deprecated": true,
1010
"removalDate": "2024-01-31",
11+
"deprecationMessage": "The AppCenterDistribute@1 (App Center distribute) task has been deprecated since November 14, 2022 and will soon be retired. Use the AppCenterDistribute@3 task instead.",
1112
"visibility": [
1213
"Build",
1314
"Release"
1415
],
1516
"author": "Microsoft Corporation",
1617
"version": {
1718
"Major": 1,
18-
"Minor": 232,
19-
"Patch": 2
19+
"Minor": 234,
20+
"Patch": 0
2021
},
2122
"minimumAgentVersion": "2.144.0",
2223
"releaseNotes": "Fix bug where feature branches were being truncated.",

Tasks/AppCenterDistributeV1/task.loc.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
"category": "Deploy",
99
"deprecated": true,
1010
"removalDate": "2024-01-31",
11+
"deprecationMessage": "The AppCenterDistribute@1 (App Center distribute) task has been deprecated since November 14, 2022 and will soon be retired. Use the AppCenterDistribute@3 task instead.",
1112
"visibility": [
1213
"Build",
1314
"Release"
1415
],
1516
"author": "Microsoft Corporation",
1617
"version": {
1718
"Major": 1,
18-
"Minor": 232,
19-
"Patch": 2
19+
"Minor": 234,
20+
"Patch": 0
2021
},
2122
"minimumAgentVersion": "2.144.0",
2223
"releaseNotes": "ms-resource:loc.releaseNotes",

Tasks/AppCenterDistributeV2/task.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
"category": "Deploy",
99
"deprecated": true,
1010
"removalDate": "2024-01-31",
11+
"deprecationMessage": "The AppCenterDistribute@2 (App Center distribute) task has been deprecated since November 14, 2022 and will soon be retired. Use the AppCenterDistribute@3 task instead.",
1112
"visibility": [
1213
"Build",
1314
"Release"
1415
],
1516
"author": "Microsoft Corporation",
1617
"version": {
1718
"Major": 2,
18-
"Minor": 232,
19-
"Patch": 2
19+
"Minor": 234,
20+
"Patch": 0
2021
},
2122
"minimumAgentVersion": "2.144.0",
2223
"releaseNotes": "Added support for multiple destinations.",

Tasks/AppCenterDistributeV2/task.loc.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
"category": "Deploy",
99
"deprecated": true,
1010
"removalDate": "2024-01-31",
11+
"deprecationMessage": "The AppCenterDistribute@2 (App Center distribute) task has been deprecated since November 14, 2022 and will soon be retired. Use the AppCenterDistribute@3 task instead.",
1112
"visibility": [
1213
"Build",
1314
"Release"
1415
],
1516
"author": "Microsoft Corporation",
1617
"version": {
1718
"Major": 2,
18-
"Minor": 232,
19-
"Patch": 2
19+
"Minor": 234,
20+
"Patch": 0
2021
},
2122
"minimumAgentVersion": "2.144.0",
2223
"releaseNotes": "ms-resource:loc.releaseNotes",

Tasks/AzureMonitorV0/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"category": "Utility",
1010
"deprecated": true,
1111
"removalDate": "2024-01-31",
12+
"deprecationMessage": "The AzureMonitor@0 (Query Classic Azure Monitor alerts) task has been deprecated since July 8, 2020 and will soon be retired. Use the AzureMonitor@1 task instead. See https://learn.microsoft.com/azure/azure-monitor/alerts/alerts-prepare-migration.",
1213
"visibility": [
1314
"Build",
1415
"Release"
@@ -19,7 +20,7 @@
1920
],
2021
"version": {
2122
"Major": 0,
22-
"Minor": 232,
23+
"Minor": 234,
2324
"Patch": 0
2425
},
2526
"instanceNameFormat": "Query Azure Monitor alerts",

Tasks/AzureMonitorV0/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"category": "Utility",
1010
"deprecated": true,
1111
"removalDate": "2024-01-31",
12+
"deprecationMessage": "The AzureMonitor@0 (Query Classic Azure Monitor alerts) task has been deprecated since July 8, 2020 and will soon be retired. Use the AzureMonitor@1 task instead. See https://learn.microsoft.com/azure/azure-monitor/alerts/alerts-prepare-migration.",
1213
"visibility": [
1314
"Build",
1415
"Release"
@@ -19,7 +20,7 @@
1920
],
2021
"version": {
2122
"Major": 0,
22-
"Minor": 232,
23+
"Minor": 234,
2324
"Patch": 0
2425
},
2526
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",

Tasks/ChefKnifeV1/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 1,
19-
"Minor": 232,
19+
"Minor": 234,
2020
"Patch": 0
2121
},
2222
"deprecated": true,
2323
"removalDate": "2024-01-31",
24+
"deprecationMessage": "The ChefKnife@1 (Run scripts with Knife commands on your Chef workstation) task has been deprecated since March 5, 2018 and will soon be retired. To continue to use Chef Knife, use the Knife client directly from a bash/pwsh/script task. See https://docs.chef.io/workstation/knife_client/.",
2425
"demands": [
2526
"Chef",
2627
"DotNetFramework"

Tasks/ChefKnifeV1/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 1,
19-
"Minor": 232,
19+
"Minor": 234,
2020
"Patch": 0
2121
},
2222
"deprecated": true,
2323
"removalDate": "2024-01-31",
24+
"deprecationMessage": "The ChefKnife@1 (Run scripts with Knife commands on your Chef workstation) task has been deprecated since March 5, 2018 and will soon be retired. To continue to use Chef Knife, use the Knife client directly from a bash/pwsh/script task. See https://docs.chef.io/workstation/knife_client/.",
2425
"demands": [
2526
"Chef",
2627
"DotNetFramework"

Tasks/ChefV1/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 1,
20-
"Minor": 232,
20+
"Minor": 234,
2121
"Patch": 0
2222
},
2323
"deprecated": true,
2424
"removalDate": "2024-01-31",
25+
"deprecationMessage": "The Chef@1 (Deploy to Chef environments by editing environment attributes) task has been deprecated since March 5, 2018 and will soon be retired. To continue to use Chef, use the Chef CLI directly from a bash/pwsh/script task. See https://github.com/chef/chef-cli.",
2526
"demands": [
2627
"Chef",
2728
"KnifeReporting",

Tasks/ChefV1/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 1,
20-
"Minor": 232,
20+
"Minor": 234,
2121
"Patch": 0
2222
},
2323
"deprecated": true,
2424
"removalDate": "2024-01-31",
25+
"deprecationMessage": "The Chef@1 (Deploy to Chef environments by editing environment attributes) task has been deprecated since March 5, 2018 and will soon be retired. To continue to use Chef, use the Chef CLI directly from a bash/pwsh/script task. See https://github.com/chef/chef-cli.",
2526
"demands": [
2627
"Chef",
2728
"KnifeReporting",

Tasks/CondaEnvironmentV1/task.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The CondaEnvironment@1 (Conda environment) task has been deprecated since February 13, 2019 and will soon be retired. Use the Conda CLI ('conda') directly from a bash/pwsh/script task.",
2122
"demands": [],
2223
"instanceNameFormat": "Conda environment $(environmentName)",
2324
"inputs": [
@@ -101,9 +102,5 @@
101102
"ParameterRequired": "The `%s` parameter is required",
102103
"PlatformNotRecognized": "Platform not recognized",
103104
"PrependPath": "Prepending PATH environment variable with directory: %s"
104-
},
105-
"_buildConfigMapping": {
106-
"Default": "1.222.1",
107-
"Node16-219": "1.222.0"
108105
}
109106
}

Tasks/CondaEnvironmentV1/task.loc.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The CondaEnvironment@1 (Conda environment) task has been deprecated since February 13, 2019 and will soon be retired. Use the Conda CLI ('conda') directly from a bash/pwsh/script task.",
2122
"demands": [],
2223
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
2324
"inputs": [
@@ -101,9 +102,5 @@
101102
"ParameterRequired": "ms-resource:loc.messages.ParameterRequired",
102103
"PlatformNotRecognized": "ms-resource:loc.messages.PlatformNotRecognized",
103104
"PrependPath": "ms-resource:loc.messages.PrependPath"
104-
},
105-
"_buildConfigMapping": {
106-
"Default": "1.222.1",
107-
"Node16-219": "1.222.0"
108105
}
109106
}

Tasks/DeployVisualStudioTestAgentV2/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The DeployVisualStudioTestAgent@2 (Visual Studio test agent deployment) task has been deprecated since January 10, 2018 and will soon be retired. Use the VSTest@3 task instead.",
2122
"runsOn": [
2223
"Agent"
2324
],

Tasks/DeployVisualStudioTestAgentV2/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The DeployVisualStudioTestAgent@2 (Visual Studio test agent deployment) task has been deprecated since January 10, 2018 and will soon be retired. Use the VSTest@3 task instead.",
2122
"runsOn": [
2223
"Agent"
2324
],

Tasks/DotNetCoreInstallerV1/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The DotNetCoreInstaller@1 (.NET Core SDK/runtime installer) task has been deprecated since August 22, 2019 and will soon be retired. Use the UseDotNet@2 task instead.",
2122
"preview": "true",
2223
"satisfies": [
2324
"DotNetCore"

Tasks/DotNetCoreInstallerV1/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The DotNetCoreInstaller@1 (.NET Core SDK/runtime installer) task has been deprecated since August 22, 2019 and will soon be retired. Use the UseDotNet@2 task instead.",
2122
"preview": "true",
2223
"satisfies": [
2324
"DotNetCore"

Tasks/IISWebAppDeployment/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"demands": [],
2020
"minimumAgentVersion": "1.91.0",
2121
"deprecated": true,
2222
"removalDate": "2024-01-31",
23+
"deprecationMessage": "The IISWebAppDeployment@1 (IIS Web App deployment) task has been deprecated since October 5, 2018 and will soon be retired. Use the 'IIS Web App Deployment Using WinRM' extension instead: https://marketplace.visualstudio.com/items?itemName=ms-vscs-rm.iiswebapp.",
2324
"groups": [
2425
{
2526
"name": "deployment",

Tasks/IISWebAppDeployment/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"demands": [],
2020
"minimumAgentVersion": "1.91.0",
2121
"deprecated": true,
2222
"removalDate": "2024-01-31",
23+
"deprecationMessage": "The IISWebAppDeployment@1 (IIS Web App deployment) task has been deprecated since October 5, 2018 and will soon be retired. Use the 'IIS Web App Deployment Using WinRM' extension instead: https://marketplace.visualstudio.com/items?itemName=ms-vscs-rm.iiswebapp.",
2324
"groups": [
2425
{
2526
"name": "deployment",

Tasks/QuickPerfTestV1/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The QuickPerfTest@1 (Cloud-based web performance test) task has been deprecated since June 4, 2019 and will soon be retired. Use the AzureLoadTest@1 task instead.",
2122
"demands": [
2223
"msbuild",
2324
"azureps"

Tasks/QuickPerfTestV1/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The QuickPerfTest@1 (Cloud-based web performance test) task has been deprecated since June 4, 2019 and will soon be retired. Use the AzureLoadTest@1 task instead.",
2122
"demands": [
2223
"msbuild",
2324
"azureps"

Tasks/RunJMeterLoadTestV1/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The ApacheJMeterLoadTest@1 (Cloud-based Apache JMeter load test) task haas been deprecated since June 4, 2019 and will soon be retired. For cloud-based load testing, use the AzureLoadTest@1 task.",
2122
"demands": [
2223
"azureps"
2324
],

Tasks/RunJMeterLoadTestV1/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The ApacheJMeterLoadTest@1 (Cloud-based Apache JMeter load test) task haas been deprecated since June 4, 2019 and will soon be retired. For cloud-based load testing, use the AzureLoadTest@1 task.",
2122
"demands": [
2223
"azureps"
2324
],

Tasks/RunLoadTestV1/task.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The CloudLoadTest@1 (Cloud-based load test) has been deprecated since June 4, 2019 and will soon be retired. Use the AzureLoadTest@1 task instead.",
2122
"demands": [
2223
"msbuild",
2324
"azureps"

Tasks/RunLoadTestV1/task.loc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 1,
16-
"Minor": 232,
16+
"Minor": 234,
1717
"Patch": 0
1818
},
1919
"deprecated": true,
2020
"removalDate": "2024-01-31",
21+
"deprecationMessage": "The CloudLoadTest@1 (Cloud-based load test) has been deprecated since June 4, 2019 and will soon be retired. Use the AzureLoadTest@1 task instead.",
2122
"demands": [
2223
"msbuild",
2324
"azureps"

0 commit comments

Comments
 (0)