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

后端 未结 9 1506
太阳男子
太阳男子 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:57

    In my case (build .sln with c# project from azure git) the build was saving the package in D:\a\1\a\ folder (instead of r1\a) and I wasn't able to edit the build steps in the UI so I edited the newly added azure-pipelines.yml file and added one more task at the very end:

    - task: PublishBuildArtifacts@1
    

    This copies the .zip package to a "drop" location (r1/a) which the Release Pipeline expects.

    ​And now the Release Pipeline is finding the file in r1/a folder.

提交回复
热议问题