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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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",

0 commit comments

Comments
 (0)