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

Configure AMAW CI for .Net Core application from Release to Master

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 .Net Core application from Release to Master

Configure Build Pipeline

The first step consist in create a build task importing JSON File or template in 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 Pipeline From VSTS Template

Another option is the creation build task through a VSTS Template.

Click the +New button.

image.png

Choose a template Liquid_Build_.Net_Core-Nuget_PR_ReleaseOnMaster

image.png

Configuring Build Pipeline to .Net Core components

Modify the pipeline name to Liquid_Build_.Net_Core-Nuget_PR_ReleaseOnMaster or other name of your choice. Choose the Repository with Liquid.

image.png

In Agent Pool, select the option

image.png

Nuget Extension - is responsible to import function from Package Management.

image.png

Restore - Restore all solutions from Liquid

image.png

Git Fetch - Get source code from remote repository.

image.png

Git Checkout - Perform checkout of Source Code in local branch on VSTS.

image.png

Change Version Csproj - Git Tag - This task get the version in Git Tag and change all Package.Json Files, this resource allow the same standard version.

image.png

Build - Build all solutions from Liquid

image.png

Git Add - After success execution of Packages with Git Version, this process Add the files and commit in Git repository.

image.png

Nuget Pack - this step create a Nuget Pack and prepare de artifacty to Release process

image.png

Git Push - This step perform Git Push on Git repository.

image.png

Publish Artifact: drop - this step publish the file with extension .ZIP to artifact of build definition.

image.png

Configure Branch Policies

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

Select the master repository

image.png

Choose branch policies option

image.png

Select Build pipeline and Manual Trigger

image.png

image.png

Allow Enabled option

image.png

Clone this wiki locally