Skip to content

Commit

Permalink
Add logic of collect the error and warning in build step
Browse files Browse the repository at this point in the history
  • Loading branch information
wyunchi-ms committed Oct 20, 2022
1 parent ca953b2 commit 963ab00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ExecuteCIStep.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ If ($Build)
$LogFile = "$RepoArtifacts/Build.Log"
If ($GenerateDocumentationFile)
{
dotnet $BuildAction $RepoArtifacts/Azure.PowerShell.sln -c $Configuration -fl "/flp1:logFile=$LogFile;verbosity=quiet" --no-restore
dotnet $BuildAction $RepoArtifacts/Azure.PowerShell.sln -c $Configuration -fl "/flp1:logFile=$LogFile;verbosity=quiet"
}
Else
{
dotnet $BuildAction $RepoArtifacts/Azure.PowerShell.sln -c $Configuration -p:GenerateDocumentationFile=false -fl "/flp1:logFile=$LogFile;verbosity=quiet" --no-restore
dotnet $BuildAction $RepoArtifacts/Azure.PowerShell.sln -c $Configuration -p:GenerateDocumentationFile=false -fl "/flp1:logFile=$LogFile;verbosity=quiet"
}
$LogContent = Get-Content $LogFile
$BuildResultArray = @()
Expand Down

0 comments on commit 963ab00

Please sign in to comment.