You develop a solution that contains an ASP.NET Model View Controller (MVC) application. You have a continuous integration build named CodeBuild which compiles the application. Your information technology (IT) department provides you with a virtual machine (VM) for testing purposes. The VM has Internet Information Services (IIS) 7.5 installed and configured. Currently, developers publish to the VM directly from Visual Studio when the test team requests a deployment. The current release process is unreliable and burdensome to the development team. You need to create an efficient and flexible method to automate the deployment of the website when requested by the test team. What should you do?
A. • Create a Powershell script that copies the website from the build drop folder to the test VM. • Check in the script to TFS. • Add an activity to the CodeBuild workflow that invokes the PowerShell script.
B. • Create a standard environment using the test VM. • Create a lab workflow named DeployBuild and select CodeBuild as the source build. • Configure a deployment command to copy the website from the build drop folder to the IIS web directory. • Instruct the test team to invoke the DeployBuild when they request a new release.
C. • Customize the CodeBuild workflow to copy the website from the build drop folder to the IIS web directory on the test VM. • Instruct the test team to invoke the CodeBuild when they wish to test.
D. • Make the IIS Web Directory on the test VM a Universal Naming Convention (UNC) file share. • Modify the CodeBuild, setting this share as the drop folder for the build.