Skip to content

Commit 257517e

Browse files
authored
Log the build output when the repo build is successful but a manifest… (#45281)
1 parent 44857f6 commit 257517e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SourceBuild/content/repo-projects/Directory.Build.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@
536536
<RepoAssetManifest Include="$(RepoAssetManifestsDir)*.xml" />
537537
</ItemGroup>
538538

539+
<Message Importance="High" Text="$([System.IO.File]::ReadAllText('$(RepoConsoleLogFile)'))" Condition="'@(RepoAssetManifest)' == '' and '$(MinimalConsoleLogOutput)' == 'true' and Exists('$(RepoConsoleLogFile)')" />
539540
<Error Text="No repository asset manifest files found at $(RepoAssetManifestsDir)*.xml. This often means the build failed but did not log an error." Condition="'@(RepoAssetManifest)' == ''" />
540541

541542
<GetKnownArtifactsFromAssetManifests AssetManifests="@(RepoAssetManifest)">

0 commit comments

Comments
 (0)