Skip to content

Commit 8c36261

Browse files
committed
remove diag
1 parent 3d525dc commit 8c36261

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

eng/pipelines/pr.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -268,25 +268,7 @@ stages:
268268
inputs:
269269
targetType: "inline"
270270
script: |
271-
./eng/dotnet-build/build.sh --source-build --binarylog
272-
- bash: |
273-
echo "=== dotnet version ===" && ./cli/dotnet --version
274-
echo "=== ref pack System.Runtime.dll paths ===" && find ./cli/packs -name "System.Runtime.dll" 2>/dev/null
275-
echo "=== FeatureSwitchDefinitionAttribute in ref assemblies ===" && \
276-
find ./cli/packs -name "System.Runtime.dll" | while read dll; do
277-
echo "--- $dll ---"
278-
strings "$dll" | grep -i FeatureSwitch || echo " NOT FOUND"
279-
done
280-
mkdir -p artifacts/diag
281-
find ./cli/packs -name "System.Runtime.dll" -exec cp {} artifacts/diag/ \; 2>/dev/null || true
282-
displayName: "Collect SDK diagnostics"
283-
condition: failed()
284-
- task: PublishPipelineArtifact@1
285-
displayName: Publish MSBuild Binary Logs and SDK Diagnostics
286-
condition: failed()
287-
inputs:
288-
targetPath: artifacts
289-
artifact: diagnostics - Source Build - Attempt $(System.JobAttempt)
271+
./eng/dotnet-build/build.sh --source-build
290272
- ${{ if eq(parameters.RunStaticAnalysis, true) }}:
291273
- job:
292274
displayName: Run Static Analysis

0 commit comments

Comments
 (0)