10

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
asked Nov 10, 2011 at 13:53

1 Answer 1

9

I think you hit the nail on the head with the advantages you listed. Powershell gives you mobility and lets you move from source control to source control, but more importantantly lets you move from build server to build server, like Jetbrains' TeamCity. Since the scripts are independent and can be run from the command line, you can fire them off from anywhere, including (like you said) your local machine.

answered Nov 10, 2011 at 17:09

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.