2018-11-14 19:45:52 +01:00
|
|
|
name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)
|
|
|
|
trigger:
|
2019-01-17 00:29:46 +01:00
|
|
|
# Batch merge builds together while a merge build is running
|
|
|
|
batch: true
|
2018-11-14 19:45:52 +01:00
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- release*
|
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- /tools/install-powershell.sh
|
|
|
|
- /tools/installpsh-amazonlinux.sh
|
|
|
|
- /tools/installpsh-debian.sh
|
|
|
|
- /tools/installpsh-osx.sh
|
|
|
|
- /tools/installpsh-redhat.sh
|
|
|
|
- /tools/installpsh-suse.sh
|
2019-02-05 19:48:34 +01:00
|
|
|
- /tools/install-powershell.ps1
|
2018-11-14 19:45:52 +01:00
|
|
|
pr:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- release*
|
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- /tools/install-powershell.sh
|
|
|
|
- /tools/installpsh-amazonlinux.sh
|
|
|
|
- /tools/installpsh-debian.sh
|
|
|
|
- /tools/installpsh-osx.sh
|
|
|
|
- /tools/installpsh-redhat.sh
|
|
|
|
- /tools/installpsh-suse.sh
|
2019-02-05 19:48:34 +01:00
|
|
|
- /tools/install-powershell.ps1
|
2018-11-14 19:45:52 +01:00
|
|
|
|
|
|
|
variables:
|
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
|
|
|
POWERSHELL_TELEMETRY_OPTOUT: 1
|
|
|
|
|
|
|
|
resources:
|
|
|
|
- repo: self
|
|
|
|
clean: true
|
|
|
|
phases:
|
|
|
|
- template: templates/install-ps-phase.yml
|
|
|
|
parameters:
|
|
|
|
scriptName: ./tools/install-powershell.sh
|
|
|
|
jobName: InstallPowerShellUbuntu
|
|
|
|
pool: Hosted Ubuntu 1604
|
|
|
|
|
|
|
|
- template: templates/install-ps-phase.yml
|
|
|
|
parameters:
|
|
|
|
scriptName: ./tools/install-powershell.sh
|
|
|
|
jobName: InstallPowerShellMacOS
|
|
|
|
pool: Hosted macOS
|
2019-02-05 19:48:34 +01:00
|
|
|
|
|
|
|
- template: templates/install-ps-phase.yml
|
|
|
|
parameters:
|
|
|
|
scriptName: pwsh -c ./tools/install-powershell.ps1 -AddToPath
|
|
|
|
jobName: InstallPowerShellPS1Ubuntu
|
|
|
|
pool: Hosted Ubuntu 1604
|