Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 19647a3

Browse files
committed
Make dotnet/coreclr reference corresponding dotnet/corefx branch
We run CoreFx tests under JitStress modes in CoreCLR. Previously, we were always pulling down CoreFx master, which is bad for CoreCLR release branches when things are out of synch.
1 parent b49116c commit 19647a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netci.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ combinedScenarios.each { scenario ->
15881588
// thinks that %workspace% is the project base directory.
15891589
buildCommands += "powershell new-item clr -type directory -force"
15901590
buildCommands += 'powershell foreach ($x in get-childitem -force) { if (\$x.name -ne \'clr\') { move-item $x clr }}'
1591-
buildCommands += "git clone https://github.com/dotnet/corefx fx"
1591+
buildCommands += "git clone -b $branch --single-branch https://github.com/dotnet/corefx fx"
15921592

15931593
buildCommands += getStressModeEnvSetCmd(os, scenario);
15941594

@@ -1729,7 +1729,7 @@ combinedScenarios.each { scenario ->
17291729
buildCommands += "rm -rf .clr; mkdir .clr; mv * .clr; mv .git .clr; mv .clr clr"
17301730

17311731
// Get corefx
1732-
buildCommands += "git clone https://github.com/dotnet/corefx fx"
1732+
buildCommands += "git clone -b $branch --single-branch https://github.com/dotnet/corefx fx"
17331733

17341734
// Set environment variable
17351735
def setEnvVar = getStressModeEnvSetCmd(os, scenario)

0 commit comments

Comments
 (0)