Home Random Page


CATEGORIES:

BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism






Create a release template

 

First we must create a component of the release template which shows the location of the build.

1. In the Configure Appstab, in the Componentscompartment click New.

2. In Build Drop Locationfrom the Builds with application, specify the location of the build which will be deployed.

3. In the Deploymenttab, select the XCopy Deployer tool and click Save and Close.

Now we going to create a release template.

1.In the Configure Apps tab, in the Release Paths click New button.

2.In the opened window select the release path previously created and select the Build Definitionto this release template to have acces to the build.

 

Next you must define the sequence of actions that deploys your app for each stage.

3.From Toolbox which is located on the left side, in the Servers category drag and drop the name of the server to the Deployment Sequence.

4.From the IIS category drag and drop Remove Web Site into the server previously added and add the name of the web site that will removed before being deployed a new build.

5.From the Windows OScategory drag and drop Copy File or Folder into the server. In the SourceFileFolder add the path from where the source will be copied and into the DestinationFileFolder where the copy will be moved.

This sequence will backup the current build of the web site before the deployment of the new build.

 

6.On the Components category click add and select the component which shows the drop build location. Drag and drop the component on the server and specify the site installation path.

 

7.From the IIScategory drag and drop Create Web Siteinto the server.

 

Now we are going to add a rollback action as an error handling in case if something goes wrong.

 

 

8.From the Control Flowcategory drag and drop Rollback.

9.From the Windows OScategory drag and drop Copy File or Folder to the Rollback action and specify the paths from which the backup will be restored to.

 

10.Copy and paste the Create Web Site tool from step 7 into Rollback action after the Copy File or Folder.

11.For other stages of the release template, repeat steps 3-10.

 


Date: 2015-12-24; view: 794


<== previous page | next page ==>
Create a lab environment | Data Driven Coded UI test
doclecture.net - lectures - 2014-2024 year. Copyright infringement or personal data (0.006 sec.)