From c16f087fe464bb906712001d9d1286e07a1dae1a Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Mon, 3 Dec 2018 15:57:40 -0600 Subject: [PATCH] New CI build definition (#123) --- README.md | 2 +- azure-pipelines.yml | 3 +-- eng/ci.yml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 781d8c0..5a1ebbe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Windows Forms - [![Build status](https://dnceng.visualstudio.com/7ea9116e-9fac-403d-b258-b31fcf1bb293/_apis/build/status/199?branchName=master)](https://dnceng.visualstudio.com/internal/_build/latest?definitionId=199&branch=master) + [![Build Status](https://dnceng.visualstudio.com/public/_apis/build/status/dotnet/advolker/advolker-test)](https://dnceng.visualstudio.com/public/_build/latest?definitionId=267&branch=master) Windows Forms (WinForms) is a framework for building rich Windows desktop applications using .NET. Since it leverages a what-you-see-is-what-you-get diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8032339..56c7cad 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,8 +22,7 @@ trigger: jobs: - template: /eng/ci.yml parameters: - # TODO: Remove the Build.DefinitionName check once the github repo goes public - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), not(contains(variables['Build.DefinitionName'], 'github'))) }}: + ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: # agent pool can't be read from a user-defined variable (Azure DevOps limitation) agentPool: dotnet-internal-temp # runAsPublic is used in expressions, which can't read from user-defined variables diff --git a/eng/ci.yml b/eng/ci.yml index e40094d..cb71b50 100644 --- a/eng/ci.yml +++ b/eng/ci.yml @@ -1,8 +1,7 @@ parameters: # Needed because agent pool can't be read from a user-defined variable (Azure DevOps limitation) - # TODO: CHANGE THIS TO dotnet-external-temp ONCE THE GITHUB REPO GOES PUBLIC - agentPool: dotnet-internal-temp + agentPool: dotnet-external-temp # Needed because runAsPublic is used in template expressions, which can't read from user-defined variables runAsPublic: true