New CI build definition (#123)
This commit is contained in:
Родитель
e8593d4e40
Коммит
c16f087fe4
|
@ -1,5 +1,5 @@
|
||||||
# Windows Forms
|
# 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
|
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
|
applications using .NET. Since it leverages a what-you-see-is-what-you-get
|
||||||
|
|
|
@ -22,8 +22,7 @@ trigger:
|
||||||
jobs:
|
jobs:
|
||||||
- template: /eng/ci.yml
|
- template: /eng/ci.yml
|
||||||
parameters:
|
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')) }}:
|
||||||
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), not(contains(variables['Build.DefinitionName'], 'github'))) }}:
|
|
||||||
# agent pool can't be read from a user-defined variable (Azure DevOps limitation)
|
# agent pool can't be read from a user-defined variable (Azure DevOps limitation)
|
||||||
agentPool: dotnet-internal-temp
|
agentPool: dotnet-internal-temp
|
||||||
# runAsPublic is used in expressions, which can't read from user-defined variables
|
# runAsPublic is used in expressions, which can't read from user-defined variables
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
parameters:
|
parameters:
|
||||||
|
|
||||||
# Needed because agent pool can't be read from a user-defined variable (Azure DevOps limitation)
|
# 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-external-temp
|
||||||
agentPool: dotnet-internal-temp
|
|
||||||
|
|
||||||
# Needed because runAsPublic is used in template expressions, which can't read from user-defined variables
|
# Needed because runAsPublic is used in template expressions, which can't read from user-defined variables
|
||||||
runAsPublic: true
|
runAsPublic: true
|
||||||
|
|
Загрузка…
Ссылка в новой задаче