vNext Build and Release Manager

笑着哭i 提交于 2019-12-10 11:54:38

问题


We are using TFS 2015. I'd like to create a build and then trigger a release (with RM). We have a webproject and a wpf app. Inside of the code we have compiler directives (#if DEBUG). And the config transformation has to be executed.

My approach was to create a build for Debug and Release, publish it and copy it to a drop folder. Can anyone tell me what is the best way to achieve this?

Thank you in advance.


回答1:


If you want to trigger an agent-based release, you can use a custom build task:

https://github.com/incyclesoftware/build-tasks

(Full disclosure: I created these tasks.)

When you deploy a task-based build, make sure the component in Release Management is named the same thing as the artifact you published in the build.



来源:https://stackoverflow.com/questions/32988031/vnext-build-and-release-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!