From 74ba5aae75e305ad0397093c11dc5d50405e8107 Mon Sep 17 00:00:00 2001 From: Ewan Noble Date: Mon, 20 Sep 2021 15:23:34 +0100 Subject: [PATCH] VirtualApplication conditional insertion --- azure-pipelines-templates/deploy/step/webjob-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines-templates/deploy/step/webjob-deploy.yml b/azure-pipelines-templates/deploy/step/webjob-deploy.yml index 23ca5829..34248d82 100644 --- a/azure-pipelines-templates/deploy/step/webjob-deploy.yml +++ b/azure-pipelines-templates/deploy/step/webjob-deploy.yml @@ -18,9 +18,9 @@ steps: inputs: azureSubscription: ${{ parameters.ServiceConnection }} WebAppName: ${{ parameters.AppServiceName }} - VirtualApplication: ${{ parameters.VirtualApplication }} Package: ${{ parameters.DeploymentPackagePath }} - + ${{ if ne(parameters.VirtualApplication, '') }}: + VirtualApplication: ${{ parameters.VirtualApplication }} - task: AzureAppServiceManage@0 displayName: 'Start all continuous webjobs - ${{ parameters.AppServiceName }}'