Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (25 loc) · 1.59 KB

AspDotNetCore-AppServiceLinux-CI.md

File metadata and controls

32 lines (25 loc) · 1.59 KB

Here is one example to Build an ASP.NET Core 2.0 web application to an App Service (Linux) via VSTS. You could adapt it with your own context, needs and constraints.

Build Overview

Prerequisities - Create manually an Azure Container Registry

Checkout the CLI 2.0 commands to accomplish that here.

Create the Build Definition

Let's create a new YAML build definition.

For now, the graphical representation of the tasks doesn't exist with the YAML definition. If you would like you could manually reproduce the tasks defined in this file via the UI editor.

  • Repository
    • Repository Type = GitHub
    • Connection = set appropriate
    • Repository = mathieu-benoit/asp-dot-net-core-on-azure-web-app
    • Default branch = master
  • Process - Build process
  • Triggers
    • Continuous Integration = Enabled
      • Choose the correct repository
      • Branch Filters
        • Type = Include ; Branch specification = master
  • Options - For now, not available with the YAML build definition.
    • Create work item on failure = Enabled
      • Type = Bug
      • Assign to requestor = true