For the purposes of making build server configuration easier to diff, easier to test and easier to reproduce on a development machine, I would like to push as much script functionality as possible out of the build configurations and into scripts that can be checked into source control like any other piece of code.
Next, cloned repos of the build scripts would be added to each build agent where they could then be referenced from the actual TeamCity build steps.
It is likely that the first step of each build would be to pull down the latest changes from this build repo and then start executing scripts.
Does this strategy make sense?
Is there a plugin or other tool that simplifies this process?