In recent months, our repository has grown significantly, and TeamCity builds have become significantly slower.
Most of the materials come from the installation files and other non-code, non-essential (for the assembly one way or another) things that people checked in SVN.
We just run the basic free version and have 3 agents. Our VCS verification mode is "Automatically on the server". 2 solution files are both C # and we use the MSBuild script.
I love the validation rules section in the build configuration, but read that it will not work because it fetches all the code, and THEN applies the rules that defeat the object if you ask me.
Now the assembly takes about 1 hour, but if I could just get TeamCity to get the code you need and nothing else, then I believe that I can get it up to 10 minutes or less.
I found several articles that exclude files and folders using MSBuild, but I canβt find anything in our build scripts related to extracting from SVN, and I think TeamCity does it.
Can anyone suggest any changes we can make, or good articles on how to build an assembly from scratch using TeamCity and MSBuild, which would allow me to choose what to choose from SVN?
Thanks.
source share