зеркало из https://github.com/dotnet/wpf.git
new CI build definition for public wpf repo
This commit is contained in:
Родитель
f00e3a1c09
Коммит
ff881dbc5d
|
@ -1,6 +1,6 @@
|
|||
# Windows Presentation Framework (WPF)
|
||||
|
||||
[![Build Status](https://dnceng.visualstudio.com/internal/_apis/build/status/dotnet.wpf)](https://dnceng.visualstudio.com/internal/_build/latest?definitionId=234)
|
||||
[![Build Status](https://dnceng.visualstudio.com/public/_apis/build/status/dotnet/wpf/dotnet-wpf%20CI)](https://dnceng.visualstudio.com/public/_build/latest?definitionId=270)
|
||||
|
||||
Windows Presentation Foundation (WPF) is a UI framework for building Windows desktop applications. WPF supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding and documents. WPF uses the Extensible Application Markup Language (XAML) to provide a declarative model for application programming.
|
||||
|
||||
|
|
|
@ -13,16 +13,14 @@ variables:
|
|||
_IsShipping: false
|
||||
|
||||
# Set some variables based on build conditions
|
||||
# TODO: Remove the Build.DefinitionName check once the github repo goes public
|
||||
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.DefinitionName'], 'github')) }}:
|
||||
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
||||
_HelixType: build/product
|
||||
_HelixSource: pr/dotnet/wpf/$(Build.SourceBranch)
|
||||
_PublishType: none
|
||||
_SignType: test
|
||||
_DotNetPublishToBlobFeed: false
|
||||
# else
|
||||
# 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')) }}:
|
||||
_TeamName: DotNetCore
|
||||
_HelixSource: official/dotnet/wpf/$(Build.SourceBranch)
|
||||
_PublishType: blob
|
||||
|
@ -42,8 +40,7 @@ trigger:
|
|||
phases:
|
||||
- template: /eng/pipeline.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
|
||||
|
|
|
@ -2,8 +2,7 @@ parameters:
|
|||
|
||||
# Needed because agent pool can't be read from a user-defined variable (Azure DevOps limitation)
|
||||
# Defaults to dotnet-external-temp
|
||||
# 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
|
||||
# Defaults to true
|
||||
|
|
Загрузка…
Ссылка в новой задаче