Files
ZertoApiWrapper/azure-pipelines.yml
T
Wes Carroll 031e31addd Update az pipeline triggers
Update triggers and call powershell core directly instead of calling the shell ==> pwsh.
2019-03-30 09:42:45 -04:00

68 lines
1.7 KiB
YAML

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
name: $(TeamProject)_$(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.rr)
trigger:
branches:
include:
- master
- develop
- TestingBranch
pr:
- master
- develop
jobs:
- job: Build_PS_Win2016
timeoutInMinutes: 10
cancelTimeoutInMinutes: 2
pool:
vmImage: vs2017-win2016
steps:
- pwsh: |
.\build.ps1 -Verbose
displayName: 'Build and Test'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testRunTitle: 'PS_Win2016'
displayName: 'Publish Test Results'
condition: always()
- job: Build_PSCore_Ubuntu1604
timeoutInMinutes: 10
cancelTimeoutInMinutes: 2
pool:
vmImage: ubuntu-16.04
steps:
- pwsh: |
.\build.ps1 -verbose
displayName: 'Build and Test'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testRunTitle: 'PSCore_Ubuntu1604'
displayName: 'Publish Test Results'
condition: always()
- job: Build_PSCore_MacOS1013
timeoutInMinutes: 10
cancelTimeoutInMinutes: 2
pool:
vmImage: xcode9-macos10.13
steps:
- pwsh: |
.\build.ps1 -verbose
displayName: 'Build and Test'
- task: PublishTestResults@2
inputs:
testRunner: 'NUnit'
testResultsFiles: '**/TestResults.xml'
testRunTitle: 'PSCore_MacOS1013'
displayName: 'Publish Test Results'
condition: always()