Skip to content

Commit

Permalink
Copy build output to artifacts dir in all cases (#4038)
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Collins <Jesse.Collins@microsoft.com>
  • Loading branch information
JesseCol and Jesse Collins authored Dec 15, 2023
1 parent 89a5ea2 commit 7ca895a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BuildAll.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Try {

if ($lastexitcode -ne 0)
{
write-host "ERROR: msbuild restore '$MRTSourcesDirectory\mrt\MrtCore.sln' FAILED."
write-host "ERROR: Building '$MRTSourcesDirectory\mrt\MrtCore.sln' FAILED."
exit 1
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ steps:

- task: CopyFiles@2
displayName: MoveToOutputDirectory
condition: always()
inputs:
SourceFolder: '$(build.SourcesDirectory)\BuildOutput'
TargetFolder: '$(ob_outputDirectory)'
Expand All @@ -111,4 +112,4 @@ steps:
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(ob_outputDirectory)'
artifactName: '$(ob_artifactBaseName)'
artifactName: '$(ob_artifactBaseName)'

0 comments on commit 7ca895a

Please sign in to comment.