Skip to content

Commit

Permalink
debug script
Browse files Browse the repository at this point in the history
  • Loading branch information
fey101 committed Apr 25, 2024
1 parent 359ecdc commit fadf523
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pipelines/snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,26 @@ stages:
jobs:
- job: GenerateCategorizationReport
steps:
- checkout: self
displayName: checkout GE api
fetchDepth: 1
submodules: recursive
persistCredentials: true

- task: DownloadPipelineArtifact@2
displayName: 'Download RunTests artifact'
inputs:
artifact: 'Generation Test Results'
path: '$(Build.ArtifactStagingDirectory)/TestResults'
- pwsh: |
Install-Module -Name ImportExcel
Install-Module Microsoft.Graph -Repository PSGallery -Scope CurrentUser -AcceptLicense -Force -AllowClobber
displayName: Install script dependencies
- pwsh: |
./microsoft-graph-devx-api/scripts/categorizeErrors.ps1 -trxFolderPath '$(Build.ArtifactStagingDirectory)/TestResults/' -txtOutputFolderPath '$(Build.ArtifactStagingDirectory)/TestResults/Reports/'
$(Build.SourcesDirectory)/scripts/categorizeErrors.ps1 -trxFolderPath '$(Build.ArtifactStagingDirectory)/TestResults/' -txtOutputFolderPath '$(Build.ArtifactStagingDirectory)/TestResults/Reports/'
displayName: Generate error category report
workingDirectory: $(Build.SourcesDirectory)
workingDirectory: '$(Build.SourcesDirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish categorization report as artifact'
Expand Down

0 comments on commit fadf523

Please sign in to comment.