简体   繁体   中英

building different projects of the same solution in TeamCity

I have a git repository containing a few .NET solutions with some shared projects. I'd like TeamCity to trigger a build per solution whenever the solution changes; the problem I'm having is that whenever anything changes in my root directory, Teamcity tells me there are pending changes in the other solutions that weren't affected by the changes made.

Is there a way to do what I'm aiming at?

I recomend separate solution for "shared" projects. Or you can have several configurations of solution where "shared" project is not supposed to build.

Reads like you are using just one repository reference. If you have different solutions you should either create one repository reference (TC-config) for each or edit the checkout rules for each build project to include only the parts of the repo the solution depends on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM