blob: 97646f69149fd03db6b085be59f147e2e72f8b16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
steps:
- script: |
mkdir -p /Users/runner/sysdiagnose
# No UI, and no time sensitive, generated, or archived logs
sudo sysdiagnose -ub -PGR -f /Users/runner/sysdiagnose -A sysdiagnose_$(System.JobPositionInPhase)
displayName: 'Collect sysdiagnose'
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
- task: PublishBuildArtifacts@1
displayName: 'Publish sysdiagnose'
inputs:
pathtoPublish: /Users/runner/sysdiagnose/
artifactName: sysdiagnose
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
|