Hi all,
It's time for me to get back to CI and build a Build Server to build and stage/deploy a web application. I'm starting to research it a bit and found...
http://www.asp.net/web-forms/overview/deployment/configuring-team-foundation-server-for-web-deployment/creating-a-build-definition-that-supports-deployment
I also found a site that made is seem as easy as...
"edit the build definition (you must be a TFS build Administrator) and navigate to the “Process”
tab. There in the build process parameters section, find out the key named “MSBuild Arguments”.
Enter the following configuration settings there in a single line separated by a single space:
/p:DeployOnBuild=True
/p:DeployTarget=MsDeployPublish
/p:MSDeployPublishMethod=RemoteAgent
/p:CreatePackageOnPublish=True
/p:DeployIisAppPath="Default
Web Site/MyBlog"
/p:MsDeployServiceUrl=kunal-chowdhury.com
/p:username=kunal-chowdhury.com\Webmaster
/p:password=MyPassword@1234"
So, it seems there are various ways to do it. This may digress to various topics, but the main thrust of things would be to build, deploy, and run a Selenium UI test suite.
First, with deployment, how do I direct the deployment to a particular site on our QA Test Server? Secondly, how do I fire off the Selenium test .dll to run after the site has been deployed/set up? I now this is a bit off topic and will enter a
second post if some feel that there is some Selenium knowledge that can be gained in this forum.
As far as Selenium, I'm wondering if everything should be done on the Build Server - build, stage or deploy to the same machine, and run the Selenium tests. Before this gets too broad I'll end it here.
Hopefully someone can guide!
As always, appreciated!!