When switching branches in a project, the build takes a lot of time than if we were building one branch at a time. Can this be fixed?

There is a project in which there are two branches. For the first time, assembling one of the branches takes 1 hour. Subsequent assemblies take 3-5 minutes. When switching to the second branch, the build again takes 1 hour.
Is it possible to somehow configure caching so that when switching branches, the build takes 3-5 minutes?

0
1 comment

Hi,

Are you already using the Build Cache feature? If not, the following might be helpful for your case:
https://www.jetbrains.com/help/teamcity/build-cache.html#Publish+and+Use+Cache+Within+the+Same+Build+Configuration

Thanks,

Guilherme

0

Please sign in to leave a comment.