@@ -148,6 +148,14 @@ jobs:
148148 /p:AppxPackageSigningEnabled=false'
149149 maximumCpuCount : true
150150
151+ - task : CopyFiles@2
152+ displayName : Copy vcpkg logs
153+ inputs :
154+ SourceFolder : $(VCPKG_INSTALLATION_ROOT)\buildtrees
155+ Contents : ' **\*.log'
156+ TargetFolder : ' $(artifactsDir)\vcpkg'
157+ condition : succeededOrFailed()
158+
151159 - task : CopyFiles@2
152160 displayName : ' Copy specific build artifacts'
153161 inputs :
@@ -285,6 +293,7 @@ jobs:
285293 inputs :
286294 targetPath : ' $(artifactsDir)'
287295 artifact : ' Build.$(artifactIdentifier)'
296+ condition : succeededOrFailed()
288297
289298 - task : ComponentGovernanceComponentDetection@0
290299 displayName : Component Governance
@@ -639,6 +648,14 @@ jobs:
639648 msbuildArgs : ' /bl:$(artifactsDir)\msbuild.binlog'
640649 maximumCpuCount : true
641650
651+ - task : CopyFiles@2
652+ displayName : Copy vcpkg logs
653+ inputs :
654+ SourceFolder : $(VCPKG_INSTALLATION_ROOT)\buildtrees
655+ Contents : ' **\*.log'
656+ TargetFolder : ' $(artifactsDir)\vcpkg'
657+ condition : succeededOrFailed()
658+
642659 - task : CopyFiles@2
643660 displayName : Copy Fuzzing Artifacts for Publishing
644661 inputs :
@@ -650,6 +667,7 @@ jobs:
650667 displayName : Publish Fuzzing Artifacts
651668 inputs :
652669 targetPath : ' $(artifactsDir)'
670+ condition : succeededOrFailed()
653671
654672 - task : onefuzz-task@0
655673 inputs :
0 commit comments