In VSTS build and release, I am now trying to separate out my code compilation and testing into separate phases for a build plan.
The first phase is fine, it does a git clean and gets sources and all that. However, the second phase should just start executing after the first phase is done. Instead it runs the git clean and reset and get sources AGAIN. Why would a phase do this if it is part of one build? I cannot for the life of me figure out a way to turn this off.
It is also entirely possible that I am thinking about this incorrectly and should be doing testing in the release pipeline or something like that.
Anyway tl;dr How do I turn off the get sources for a secondary phase in a build