Azure DevOps 持续集成CI 配置

 

1.获取数据源  Select a scurce

2.NuGet restore,如有自定义的包 可以添加NuGet.config

3.Build Solution。

(MSBuild Arguments :/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\\" )

4.Copy Files to: $(build.artifactstagingdirectory)

5.Publish Artifact: drop

 

posted @ 2019-04-22 11:31  _Tbz  阅读(254)  评论(0编辑  收藏  举报