TF Build definition with Publish target and running unit tests

后端 未结 2 1422
迷失自我
迷失自我 2021-01-26 00:52

I\'ve created a build definition using TF Build. It is the nightly build for our project. It should run the defined Unit Tests and it should package the Azure Cloud Service proj

相关标签:
2条回答
  • 2021-01-26 01:42

    Okee, it was much simpler then I though.

    The /target-arguments of MSBuild can take multiple targets that are built in turn. I change my build definition to have /target:Build;Publish as msbuild params. This fixed the issue.

    0 讨论(0)
  • 2021-01-26 01:46

    I got an error (no entry point specified for cloud service) doing /t:Build;Publish with my service. So I did 2 separate actions, one with Build and one with Publish and that worked.

    0 讨论(0)
提交回复
热议问题