No package found with specified pattern: D:\a\r1\a\**\*.zip

后端 未结 9 1516
太阳男子
太阳男子 2021-01-04 07:25

I created a build definition in vsts with npm build and then I copy the build folder to the drop location.

The build pipeline is working fine

Then I created

9条回答
  •  盖世英雄少女心
    2021-01-04 07:52

    I used the below task in Azure DevOps release yaml pipeline for deployment of azure function app and set the package to $(System.DefaultWorkingDirectory) and it worked for me.

    - task: AzureFunctionApp@1
                    inputs:
                      azureSubscription: XXXXXXXXX
                      appType: 'functionApp'
                      appName: 'funcapp-test'
                      package: '$(System.DefaultWorkingDirectory)'
                      appSettings: 
                      deploymentMethod: 'auto'
    

提交回复
热议问题