Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Configure AMAW CI for Angular and React application from Feature to Develop

Gustavo Denis edited this page Oct 31, 2019 · 1 revision
Main >Using Liquid for building your application> Using Liquid for building your application > Configure CI, CD and CT with Mono-Repo > Continuous Integration > Configure Liquid CI for Angular and React application from Feature to Develop

This topic explain the procedures to configure the Continuous Integration through build task for .Net Core components.

Configure a Build Task

The first step is to create a build task by importing the Json file or template into VSTS.

Importing JSON File

Click the +Import Button e choose your template file with JSON Format.

image.png

After selecting the JSON file, click the Import button.

image.png

Create a Build Task From VSTS Template

Another option is to create the build task by using a VSTS Template.

Click the +New button.

image.png

Choose a template Liquid_NPM_Install_PR_FeatureOnDevelop.

image.png

Configuring a Build Task to .Net Core components

  1. Modify the pipeline name to Liquid_NPM_Install_PR_FeatureOnDevelop or other name of your choice.
  2. Choose the Repository with Liquid.

image.png

In Agent Pool, select the option

image.png npm install - Angular - This task perform the analysis of Angular Packages, if show any error the process is aborted and the Developer need fix the source code.

In Use packages from this VSTS/TFS registry is necessary fill with Package Management name.

image.png

npm install - AngularOnAzure - This task perform the analysis of Angular Packages compatible with Microsoft Azure, if show any error the process is aborted and the Developer need fix the source code.

In Use packages from this VSTS/TFS registry is necessary fill with Package Management name.

image.png

npm install - React - This task perform the analysis of React Packages, if show any error the process is aborted and the Developer need fix the source code.

In Use packages from this VSTS/TFS registry is necessary fill with Package Management name.

image.png

npm install - ReactOnAzure - This task perform the analysis of React Packages compatible with Microsoft Azure, if show any error the process is aborted and the Developer need fix the source code.

In Use packages from this VSTS/TFS registry is necessary fill with Package Management name.

image.png

Click the Save button to finish the settings.

Configure Branch Policies

Configure this Build Definition in Develop Git repository in Branch Policies on session Build Validation.

Select the develop repository

image.png

Choose branch policies option

image.png

Select Build pipeline and Automatic Trigger

image.png

image.png

Allow Enabled option

image.png

Clone this wiki locally