{"id":96,"date":"2024-02-16T15:27:19","date_gmt":"2024-02-16T15:27:19","guid":{"rendered":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2024\/02\/16\/azure-pipelines-deprecated-tasks-retirement-schedule\/"},"modified":"2024-03-17T18:34:32","modified_gmt":"2024-03-17T18:34:32","slug":"azure-pipelines-deprecated-tasks-retirement-schedule","status":"publish","type":"post","link":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2024\/02\/16\/azure-pipelines-deprecated-tasks-retirement-schedule\/","title":{"rendered":"Azure Pipelines deprecated tasks retirement schedule"},"content":{"rendered":"<p>Azure Pipelines includes around <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/?view=azure-pipelines\">150 build &amp; release tasks<\/a> as well as many more <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/?view=azure-pipelines\">task extensions<\/a>. Various included tasks have multiple (major) versions bringing the total to over included 200 tasks.<\/p>\n<p>Some of these tasks have been deprecated for some time, as newer tasks have replaced them. Deprecation means the task is still supported, before it is retired. In this blog post we\u2019ll communicate what will happen as deprecated tasks retire.<\/p>\n<h2>What tasks can I no longer use?<\/h2>\n<p>In November we <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/release-notes\/2023\/pipelines\/sprint-230-update?branch=main#announcing-retirement-of-deprecated-tasks\">announced<\/a> deprecated tasks will be retired after January 31st. If you are using some of the tasks listed below, please update your pipelines e.g. to use the suggested alternative. To help pipeline authors identify pipelines that use deprecated tasks, these tasks emit warnings that include guidance on how to replace the task. This is an example for the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/dotnet-core-installer-v0?view=azure-pipelines\">DotNetCoreInstaller@1<\/a> task: <a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2024\/02\/task-deprecation-message.png\"><\/a><\/p>\n<p>Here is the list of tasks that are deprecated and will be retired:<\/p>\n<p>Task<br \/>\nDeprecated since<br \/>\nGuidance<\/p>\n<p>ApacheJMeterLoadTest@1<br \/>\nJune 4, 2019<br \/>\nConsider using the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/azure-load-test-v1?view=azure-pipelines\">AzureLoadTest@1<\/a> task<\/p>\n<p>AppCenterDistribute@1<br \/>\nNovember 14, 2022<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/app-center-distribute-v3?view=azure-pipelines\">AppCenterDistribute@3<\/a> task<\/p>\n<p>AppCenterDistribute@2<br \/>\nNovember 14, 2022<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/app-center-distribute-v3?view=azure-pipelines\">AppCenterDistribute@3<\/a> task<\/p>\n<p>AzureMonitor@0<br \/>\nJuly 8, 2020<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/azure-monitor-v1?view=azure-pipelines\">AzureMonitor@1<\/a> task. See <a href=\"https:\/\/learn.microsoft.com\/azure\/azure-monitor\/alerts\/alerts-prepare-migration\">migration of classic alert rules<\/a>.<\/p>\n<p>Chef@1<br \/>\nMarch 5, 2018<br \/>\nTo continue to use Chef, use the Chef CLI directly from a <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-bash?view=azure-pipelines\">bash<\/a>, <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-pwsh?view=azure-pipelines\">pwsh<\/a> or <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-script?view=azure-pipelines\">script<\/a> task. See <a href=\"https:\/\/github.com\/chef\/chef-cli\">Chef CLI<\/a>.<\/p>\n<p>ChefKnife@1<br \/>\nMarch 5, 2018<br \/>\nTo continue to use Chef Knife, use the Knife client directly from a <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-bash?view=azure-pipelines\">bash<\/a>, <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-pwsh?view=azure-pipelines\">pwsh<\/a> or <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-script?view=azure-pipelines\">script<\/a> task. See <a href=\"https:\/\/docs.chef.io\/workstation\/knife_client\/\">Knife client<\/a>.<\/p>\n<p>CloudLoadTest@1<br \/>\nJune 4, 2019<br \/>\nConsider using the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/azure-load-test-v1?view=azure-pipelines\">AzureLoadTest@1<\/a> task<\/p>\n<p>CondaEnvironment@1<br \/>\nFeb 13, 2019<br \/>\nUse the <a href=\"https:\/\/docs.conda.io\/projects\/conda\/en\/stable\/\">Conda CLI<\/a> (\u2018conda\u2019) directly from a <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-bash?view=azure-pipelines\">bash<\/a>, <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-pwsh?view=azure-pipelines\">pwsh<\/a> or <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-script?view=azure-pipelines\">script<\/a> task.<\/p>\n<p>DeployVisualStudioTestAgent@2<br \/>\nJan 10, 2018<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/vstest-v2?view=azure-pipelines\">VSTest@2<\/a> task instead.<\/p>\n<p>DotNetCoreInstaller@1<br \/>\nAug 22, 2019<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/use-dotnet-v2?view=azure-pipelines\">UseDotNet@2<\/a> task instead.<\/p>\n<p>DownloadPackage@0<br \/>\nJuly 20, 2023<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/download-package-v1?view=azure-pipelines\">DownloadPackage@1<\/a> task<\/p>\n<p>IISWebAppDeployment@1<br \/>\nOct 5, 2018<br \/>\nUse the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscs-rm.iiswebapp\">IIS Web App Deployment Using WinRM<\/a> extension instead.<\/p>\n<p>NuGet@0<br \/>\nJune 15, 2017<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/devops\/pipelines\/tasks\/reference\/nuget-command-v2?view=azure-pipelines\">NuGetCommand@2<\/a> task instead<\/p>\n<p>NuGetInstaller@0<br \/>\nJuly 20, 2023<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/devops\/pipelines\/tasks\/reference\/nuget-command-v2?view=azure-pipelines\">NuGetCommand@2<\/a> or <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/nuget-tool-installer-v1?view=azure-pipelines\">NuGetToolInstaller@1<\/a> tasks instead, see <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/nuget-command-v2?view=azure-pipelines#migrate-from-nugetinstaller0-or-nugetrestore1\">Migrate from NuGetInstaller@0 or NuGetRestore@1<\/a><\/p>\n<p>NuGetPackager@0<br \/>\nJune 15, 2017<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/devops\/pipelines\/tasks\/reference\/nuget-command-v2?view=azure-pipelines\">NuGetCommand@2<\/a> task with the pack command instead<\/p>\n<p>NuGetPublisher@0<br \/>\nJune 15, 2017<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/devops\/pipelines\/tasks\/reference\/nuget-command-v2?view=azure-pipelines\">NuGetCommand@2<\/a> task with the push command instead<\/p>\n<p>NuGetRestore@1<br \/>\nAug 8, 2023<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/devops\/pipelines\/tasks\/reference\/nuget-command-v2?view=azure-pipelines\">NuGetCommand@2<\/a> task with the restore command instead, see <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/nuget-command-v2?view=azure-pipelines#migrate-from-nugetinstaller0-or-nugetrestore1\">Migrate from NuGetInstaller@0 or NuGetRestore@1<\/a><\/p>\n<p>QuickPerfTest@1<br \/>\nJune 4, 2019<br \/>\nConsider using the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/azure-load-test-v1?view=azure-pipelines\">AzureLoadTest@1<\/a> task<\/p>\n<p>SqlServerDacpacDeployment@1<br \/>\nOct 5, 2018<br \/>\nFor SQL Server, use the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscs-rm.iiswebapp\">IIS Web App Deployment Using WinRM<\/a> extension instead. For Azure SQL Database use the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/sql-azure-dacpac-deployment-v1?view=azure-pipelines\">SqlAzureDacpacDeployment@1<\/a> task.<\/p>\n<p>XamarinTestCloud@1<br \/>\nJan 11, 2018<br \/>\nUse the <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/app-center-distribute-v3?view=azure-pipelines\">AppCenterDistribute@3<\/a> task<\/p>\n<h2>What will happen after the retirement date?<\/h2>\n<p>To help pipeline authors identify pipelines in Azure DevOps Service that use one of the deprecated tasks listed above, we will temporarily fail tasks according to the following schedule:<\/p>\n<p>Tuesday February 20<br \/>\nThursday February 22<br \/>\nMonday February 26<br \/>\nFriday March 1 to Monday March 4<br \/>\nWednesday March 6<br \/>\nFriday March 8<br \/>\nTuesday March 12 to Wednesday March 13<br \/>\nFriday March 15 onwards<\/p>\n<p>During this schedule, tasks will execute their normal functionality but report an error:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2024\/02\/image-2.png\"><\/a><\/p>\n<p>The recommended action is to follow the guidance shown in the error message or otherwise update the pipeline to no longer use the deprecated task. To prevent the error temporarily without replacing the task, set the continueOnError <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/yaml-schema\/steps-task?view=azure-pipelines\">step<\/a> property to true:<\/p>\n<p>&#8211; task: DotNetCoreInstaller@1<br \/>\n  continueOnError: true<br \/>\n  inputs:<br \/>\n    packageType: &#8216;sdk&#8217;<br \/>\n    version: &#8216;3.1.x&#8217;<\/p>\n<p>This will execute the tasks functionality without failing and continue the pipeline. <strong>Note any other errors will also be suppressed<\/strong>. To prevent ignoring legitimate issues, replace the task with its recommended alternative listed above instead.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2024\/02\/image-3.png\"><\/a><\/p>\n<p>In a future update to Azure DevOps Server we will also retire the tasks listed above.<\/p>\n<h2>Frequently Asked Questions<\/h2>\n<p>Q: What will happen if I don\u2019t do anything?<br \/>\nA: Tasks will permanently fail in Azure DevOps Service after March 15, and in a future update to Azure DevOps Server.<br \/>\nQ: I\u2019m using Azure DevOps Server<br \/>\nA: We will announce retirement from Azure DevOps Server separately.<br \/>\nQ: We have many pipelines. How can pipeline owners be made aware?<br \/>\nA: During the brownout schedule above failing tasks and pipelines let pipeline owners pinpoint pipelines using soon to be retired tasks.<br \/>\nQ: I\u2019m using the DownloadPackage@0\/NuGetInstaller@0\/NuGetRestore@1 task and it is failing. A: These tasks follow an accelerated retirement schedule, see <a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/release-notes\/2023\/artifacts\/sprint-229-update#deprecation-announcement-for-nuget-restore-v1-and-nuget-installer-v0-pipeline-tasks\">announcement<\/a>.<\/p>\n<h2>Resources<\/h2>\n<p><a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/pipelines\/tasks\/reference\/?view=azure-pipelines\">Task Reference<\/a><br \/>\n<a href=\"https:\/\/learn.microsoft.com\/azure\/devops\/release-notes\/2023\/pipelines\/sprint-230-update#announcing-retirement-of-deprecated-tasks\">Release Notes<\/a><\/p>\n<p>The post <a href=\"https:\/\/devblogs.microsoft.com\/devops\/azure-pipelines-deprecated-tasks-retirement-schedule\/\">Azure Pipelines deprecated tasks retirement schedule<\/a> appeared first on <a href=\"https:\/\/devblogs.microsoft.com\/devops\">Azure DevOps Blog<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Azure Pipelines includes around 150 build &amp; release tasks as well as many more task extensions. Various included tasks have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-96","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure"],"_links":{"self":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":1,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/96\/revisions\/261"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/media\/36"}],"wp:attachment":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}