Deploy a .NET Core WebJob within Azure Devops pipelines

Recently I created an WebJob to do some background processing for our company’s web app. It took me some time find out how to deploy the WebJob using Azure Devops (most documentation is about full framework WebJobs), so I’d like to share my deployment script with you.


  1. Add an Azure Powershell task to your build or release pipeline

2. Change the variables in the top of the script below to match your resource group / web app / webjob names.