Update az pipeline triggers

Update triggers and call powershell core directly instead of calling the shell ==> pwsh.
This commit is contained in:
Wes Carroll
2019-03-30 09:42:45 -04:00
parent 7bd878615d
commit 031e31addd
+15 -6
View File
@@ -4,6 +4,15 @@
# https://aka.ms/yaml # https://aka.ms/yaml
name: $(TeamProject)_$(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.rr) name: $(TeamProject)_$(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.rr)
trigger:
branches:
include:
- master
- develop
- TestingBranch
pr:
- master
- develop
jobs: jobs:
- job: Build_PS_Win2016 - job: Build_PS_Win2016
@@ -12,8 +21,8 @@ jobs:
pool: pool:
vmImage: vs2017-win2016 vmImage: vs2017-win2016
steps: steps:
- script: | - pwsh: |
pwsh -c ".\build.ps1 -Verbose" .\build.ps1 -Verbose
displayName: 'Build and Test' displayName: 'Build and Test'
- task: PublishTestResults@2 - task: PublishTestResults@2
inputs: inputs:
@@ -29,8 +38,8 @@ jobs:
pool: pool:
vmImage: ubuntu-16.04 vmImage: ubuntu-16.04
steps: steps:
- script: | - pwsh: |
pwsh -c '.\build.ps1 -verbose' .\build.ps1 -verbose
displayName: 'Build and Test' displayName: 'Build and Test'
- task: PublishTestResults@2 - task: PublishTestResults@2
inputs: inputs:
@@ -46,8 +55,8 @@ jobs:
pool: pool:
vmImage: xcode9-macos10.13 vmImage: xcode9-macos10.13
steps: steps:
- script: | - pwsh: |
pwsh -c '.\build.ps1 -verbose' .\build.ps1 -verbose
displayName: 'Build and Test' displayName: 'Build and Test'
- task: PublishTestResults@2 - task: PublishTestResults@2
inputs: inputs: