Use a different nuget path for smoke tests
This is needed to avoid the smoke tests project from using reference assemblies that were restored in the product build phase. Those all get placed in the prereqs/packages/restored path. So this change sets the smoke tests to use an isolated location at prereqs/packages/restored/smoke-tests
This commit is contained in:
parent
a1671e1b82
commit
96ebbaf0fa
1 changed files with 1 additions and 0 deletions
|
@ -252,6 +252,7 @@ LogDateStamp=$(date +"%m%d%H%M%S")
|
||||||
"$CLI_ROOT/dotnet" build-server shutdown
|
"$CLI_ROOT/dotnet" build-server shutdown
|
||||||
|
|
||||||
if [ "$alternateTarget" == "true" ]; then
|
if [ "$alternateTarget" == "true" ]; then
|
||||||
|
export NUGET_PACKAGES=$NUGET_PACKAGES/smoke-tests
|
||||||
"$CLI_ROOT/dotnet" msbuild "$SCRIPT_ROOT/build.proj" -bl:"$SCRIPT_ROOT/artifacts/log/Debug/BuildTests_$LogDateStamp.binlog" -flp:"LogFile=$SCRIPT_ROOT/artifacts/logs/BuildTests_$LogDateStamp.log" -clp:v=m ${MSBUILD_ARGUMENTS[@]} "$@"
|
"$CLI_ROOT/dotnet" msbuild "$SCRIPT_ROOT/build.proj" -bl:"$SCRIPT_ROOT/artifacts/log/Debug/BuildTests_$LogDateStamp.binlog" -flp:"LogFile=$SCRIPT_ROOT/artifacts/logs/BuildTests_$LogDateStamp.log" -clp:v=m ${MSBUILD_ARGUMENTS[@]} "$@"
|
||||||
else
|
else
|
||||||
"$CLI_ROOT/dotnet" msbuild "$SCRIPT_ROOT/eng/tools/init-build.proj" -bl:"$SCRIPT_ROOT/artifacts/log/Debug/BuildXPlatTasks_$LogDateStamp.binlog" -flp:LogFile="$SCRIPT_ROOT/artifacts/logs/BuildXPlatTasks_$LogDateStamp.log" -t:PrepareOfflineLocalTools ${MSBUILD_ARGUMENTS[@]} "$@"
|
"$CLI_ROOT/dotnet" msbuild "$SCRIPT_ROOT/eng/tools/init-build.proj" -bl:"$SCRIPT_ROOT/artifacts/log/Debug/BuildXPlatTasks_$LogDateStamp.binlog" -flp:LogFile="$SCRIPT_ROOT/artifacts/logs/BuildXPlatTasks_$LogDateStamp.log" -t:PrepareOfflineLocalTools ${MSBUILD_ARGUMENTS[@]} "$@"
|
||||||
|
|
Loading…
Reference in a new issue