Move source-build pipelines to sb content folder (#19291)
This commit is contained in:
commit
25cb4bbaa4
6 changed files with 3 additions and 4 deletions
|
@ -104,7 +104,7 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
eng/common/build.sh -bl --projects $(Build.SourcesDirectory)/src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/Microsoft.DotNet.SourceBuild.SmokeTests.csproj --restore
|
eng/common/build.sh -bl --projects $(Build.SourcesDirectory)/test/Microsoft.DotNet.SourceBuild.SmokeTests/Microsoft.DotNet.SourceBuild.SmokeTests.csproj --restore
|
||||||
|
|
||||||
echo "##vso[task.setvariable variable=Platform]$platform"
|
echo "##vso[task.setvariable variable=Platform]$platform"
|
||||||
echo "##vso[task.setvariable variable=MsftSdkTarballPath]$(Pipeline.Workspace)/Artifacts/$msft_sdk_tarball_name"
|
echo "##vso[task.setvariable variable=MsftSdkTarballPath]$(Pipeline.Workspace)/Artifacts/$msft_sdk_tarball_name"
|
||||||
|
@ -115,7 +115,7 @@ jobs:
|
||||||
|
|
||||||
- script: >
|
- script: >
|
||||||
.dotnet/dotnet test
|
.dotnet/dotnet test
|
||||||
$(Build.SourcesDirectory)/src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/Microsoft.DotNet.SourceBuild.SmokeTests.csproj
|
$(Build.SourcesDirectory)/test/Microsoft.DotNet.SourceBuild.SmokeTests/Microsoft.DotNet.SourceBuild.SmokeTests.csproj
|
||||||
--filter "Category=SdkContent"
|
--filter "Category=SdkContent"
|
||||||
--logger:'trx;LogFileName=$(Agent.JobName)_SDKDiffTests.trx'
|
--logger:'trx;LogFileName=$(Agent.JobName)_SDKDiffTests.trx'
|
||||||
--logger:'console;verbosity=detailed'
|
--logger:'console;verbosity=detailed'
|
||||||
|
@ -143,7 +143,6 @@ jobs:
|
||||||
find artifacts/ -type f -name "BuildTests*.binlog" -exec cp {} --parents -t ${targetFolder} \;
|
find artifacts/ -type f -name "BuildTests*.binlog" -exec cp {} --parents -t ${targetFolder} \;
|
||||||
find artifacts/ -type f -name "BuildTests*.log" -exec cp {} --parents -t ${targetFolder} \;
|
find artifacts/ -type f -name "BuildTests*.log" -exec cp {} --parents -t ${targetFolder} \;
|
||||||
find artifacts/ -type f -name "Build.binlog" -exec cp {} --parents -t ${targetFolder} \;
|
find artifacts/ -type f -name "Build.binlog" -exec cp {} --parents -t ${targetFolder} \;
|
||||||
cd "$(Build.SourcesDirectory)/src/SourceBuild/content"
|
|
||||||
find test/ -type f -name "*.binlog" -exec cp {} --parents -t ${targetFolder} \;
|
find test/ -type f -name "*.binlog" -exec cp {} --parents -t ${targetFolder} \;
|
||||||
find test/ -type f -name "Updated*.diff" -exec cp {} --parents -t ${targetFolder} \;
|
find test/ -type f -name "Updated*.diff" -exec cp {} --parents -t ${targetFolder} \;
|
||||||
find test/ -type f -name "Updated*.txt" -exec cp {} --parents -t ${targetFolder} \;
|
find test/ -type f -name "Updated*.txt" -exec cp {} --parents -t ${targetFolder} \;
|
||||||
|
@ -164,7 +163,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
testRunner: vSTest
|
testRunner: vSTest
|
||||||
testResultsFiles: '*.trx'
|
testResultsFiles: '*.trx'
|
||||||
searchFolder: $(Build.SourcesDirectory)/src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/TestResults
|
searchFolder: $(Build.SourcesDirectory)/test/Microsoft.DotNet.SourceBuild.SmokeTests/TestResults
|
||||||
mergeTestResults: true
|
mergeTestResults: true
|
||||||
publishRunAttachments: true
|
publishRunAttachments: true
|
||||||
testRunTitle: $(Agent.JobName)
|
testRunTitle: $(Agent.JobName)
|
Loading…
Reference in a new issue