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 }}'