a244c049e8
install-powershell.sh now autodetects whether curl or wget is installed to download secondary script when it is not found locally.
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)
|
|
trigger:
|
|
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
|
|
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
|
|
|
|
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
|