diff --git a/azure-pipelines-official.yml b/azure-pipelines-official.yml index c86750005c..8650aad745 100644 --- a/azure-pipelines-official.yml +++ b/azure-pipelines-official.yml @@ -15,6 +15,8 @@ variables: extends: template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate parameters: + settings: + networkIsolationPolicy: Permissive,CFSClean sdl: sourceAnalysisPool: name: NetCore1ESPool-Svc-Internal diff --git a/eng/format-verifier.ps1 b/eng/format-verifier.ps1 index 37c7e2e585..b406be1261 100644 --- a/eng/format-verifier.ps1 +++ b/eng/format-verifier.ps1 @@ -79,6 +79,9 @@ try { if ($stage -eq "format-workspace") { Write-Output "$(Get-Date) - $solutionFile - Formatting Workspace" + # Output command before running it + Write-Output $parentDotNetPath "$currentLocation/artifacts/bin/dotnet-format/Release/net8.0/dotnet-format.dll" $solution --no-restore -v diag --verify-no-changes + $output = & $parentDotNetPath "$currentLocation/artifacts/bin/dotnet-format/Release/net8.0/dotnet-format.dll" $solution --no-restore -v diag --verify-no-changes | Out-String Write-Output $output.TrimEnd()