-
Notifications
You must be signed in to change notification settings - Fork 13
Configure AMAW CI for .Net Core application from Release to Master
| 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 |
|---|
The first step consist in create a build task importing JSON File or template in VSTS.
Click the +Import Button e choose your template file with JSON Format.

After selecting the JSON file, click the Import button

Another option is the creation build task through a VSTS Template.
Click the +New button.

Choose a template Liquid_Build_.Net_Core-Nuget_PR_ReleaseOnMaster

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

In Agent Pool, select the option

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

Restore - Restore all solutions from Liquid

Git Fetch - Get source code from remote repository.

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

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.

Build - Build all solutions from Liquid

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

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

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

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

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

Choose branch policies option

Select Build pipeline and Manual Trigger


Allow Enabled option
