Skip to content

Commit

Permalink
New CI build definition (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamYoblick committed Dec 3, 2018
1 parent e8593d4 commit c16f087
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
3 changes: 1 addition & 2 deletions azure-pipelines.yml
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions 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
Expand Down

0 comments on commit c16f087

Please sign in to comment.