Skip to content

Commit

Permalink
close #3797 - moved 'fail' stage after artifact copy stage (#3799)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed May 21, 2019
1 parent 01d4f9a commit 007ca6f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build-system/azure-pipeline.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ jobs:
testResultsFiles: '**/*.trx' #TestResults folder usually
testRunTitle: ${{ parameters.name }}
mergeTestResults: true
- script: 'echo 1>&2'
failOnStderr: true
displayName: 'If above is partially succeeded, then fail'
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
- task: CopyFiles@2
displayName: 'Copy Build Output'
inputs:
Expand All @@ -51,4 +47,8 @@ jobs:
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: ${{ parameters.name }}
artifactName: ${{ parameters.name }}
- script: 'echo 1>&2'
failOnStderr: true
displayName: 'If above is partially succeeded, then fail'
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')

0 comments on commit 007ca6f

Please sign in to comment.