Skip to content

Commit

Permalink
Improve build-server-azuredevops.include.md regarding ubuntu runners (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-jung authored Feb 14, 2025
1 parent 0f0b1ca commit 74e36ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/mdsource/build-server-azuredevops.include.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Directly after the test runner step add a build step to set a flag if the testru
displayName: 'Set flag to publish Verify *.received.* files when test step fails'
condition: failed()
inputs:
script: 'echo ##vso[task.setvariable variable=publishverify]Yes'
script: 'echo "##vso[task.setvariable variable=publishverify]Yes"'
```
Since the PublishBuildArtifacts step in DevOps does not allow a wildcard it is necessary to stage the 'received' files before publishing:
Expand All @@ -15,8 +15,8 @@ Since the PublishBuildArtifacts step in DevOps does not allow a wildcard it is n
condition: eq(variables['publishverify'], 'Yes')
displayName: 'Copy Verify *.received.* files to Artifact Staging'
inputs:
contents: '**\*.received.*'
targetFolder: '$(Build.ArtifactStagingDirectory)\Verify'
contents: '**/*.received.*'
targetFolder: '$(Build.ArtifactStagingDirectory)/Verify'
cleanTargetFolder: true
overWrite: true
```
Expand All @@ -29,7 +29,7 @@ Publish the staged files as a build artifact:
name: 'verifypublish'
condition: eq(variables['publishverify'], 'Yes')
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)\Verify'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Verify'
ArtifactName: 'Verify'
publishLocation: 'Container'
```
```

0 comments on commit 74e36ac

Please sign in to comment.