From 14ae3fb2f7b6178da4b1fab1f25ae0b4d8974a46 Mon Sep 17 00:00:00 2001 From: locke1211 Date: Wed, 20 Jan 2021 13:37:49 -0500 Subject: [PATCH 1/2] Set up CI with Azure Pipelines Initial step to start Pipelines [skip ci] --- azure-pipelines.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000000..9c2222e28b --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,17 @@ +# ASP.NET Core +# Build and test ASP.NET Core projects targeting .NET Core. +# Add steps that run tests, create a NuGet package, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core + +trigger: +- main + +pool: + vmImage: 'ubuntu-latest' + +variables: + buildConfiguration: 'Release' + +steps: +- script: dotnet build --configuration $(buildConfiguration) + displayName: 'dotnet build $(buildConfiguration)' From 155d265a7d311d5656203348936a4a304a793408 Mon Sep 17 00:00:00 2001 From: locke1211 Date: Wed, 20 Jan 2021 13:41:39 -0500 Subject: [PATCH 2/2] Update README.md Add Badge Status --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index dff610f8ce..38144f0ae5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Build Status](https://dev.azure.com/locke12110705/Pipeline/_apis/build/status/locke1211.pipelines-dotnet-core?branchName=master)](https://dev.azure.com/locke12110705/Pipeline/_build/latest?definitionId=6&branchName=master) # Sample ASP.NET Core application for Azure Pipelines docs For information on how to set up a pipeline for this repository, see [Create your first pipeline](https://docs.microsoft.com/azure/devops/pipelines/get-started-yaml?view=azure-devops).