Continuous Integration

Microsoft recommends the use of Visual Studio Team Services (VSTS) to continuously integrate your code into a source depot. The first step for setting up Continuous Integration is to set up a build definition. Following are the steps to be followed for creating a build definition from existing build templates:

  1. Browse to the VSTS portal and navigate to the Builds tab.

 

 

  1. Click on the New button to create a new build definition:
Create new build definition
  1. Select Azure Service Fabric Application within the Build template category and click Next:
Select Service Fabric build definition template
  1. Select the source control repository for the Service Fabric application and click Create:
Create new build definition
  1. Save the build definition with a name.

The following build steps are added to the build template as a part of this template:

  1. Restore all NuGet packages referred to in this solution.
  2. Build the entire solution.
  3. Generate the Service Fabric application package.

 

 

  1. Update the Service Fabric application version.
  2. Copy the publish profile and application parameters files to the build's artifacts to be consumed for deployment.
  3. Publish the build's artifacts.

A build can now be queued to test the build definition.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.156.231