I'm experimenting with automatic deployment / continuous integration and had a talk with my team lead.
I told him I'm investigating creating build/deployment scripts in PowerShell and he said automatic deployment is very easy to set up in TFS using a GUI and I should research that instead. I have zero experience with TFS except for commiting to source control from VS.
In which situations would TFS fail and would you be better off with PowerShell for automatic deployment? What other reasons and advantages are there to choose PowerShell instead of TFS?
And another thing: Could I run a third party tool that, for example, minifies JS files from TFS?
Some advantages of PowerShell I could think of:
- PowerShell offers maximum flexibility
- You can easily switch to another source control system such as Mercurial
- The scripts will be easier to maintain than what TFS generates
- PowerShell is light weight: you can run the script on any PC