summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorRuss Keldorph <Russ.Keldorph@microsoft.com>2016-10-31 16:18:11 -0700
committerRuss Keldorph <Russ.Keldorph@microsoft.com>2016-10-31 16:18:11 -0700
commit19647a3e4855063298c1b5056944b18c9dd96267 (patch)
tree86aff4d7701ea0bd341df874bee9bd8bc1b46cfe /netci.groovy
parentb49116c0f940760c49b2af9b7593e38a11921694 (diff)
downloadcoreclr-19647a3e4855063298c1b5056944b18c9dd96267.tar.gz
coreclr-19647a3e4855063298c1b5056944b18c9dd96267.tar.bz2
coreclr-19647a3e4855063298c1b5056944b18c9dd96267.zip
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.
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/netci.groovy b/netci.groovy
index 2ceb39dea6..7a64274383 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -1588,7 +1588,7 @@ combinedScenarios.each { scenario ->
// thinks that %workspace% is the project base directory.
buildCommands += "powershell new-item clr -type directory -force"
buildCommands += 'powershell foreach ($x in get-childitem -force) { if (\$x.name -ne \'clr\') { move-item $x clr }}'
- buildCommands += "git clone https://github.com/dotnet/corefx fx"
+ buildCommands += "git clone -b $branch --single-branch https://github.com/dotnet/corefx fx"
buildCommands += getStressModeEnvSetCmd(os, scenario);
@@ -1729,7 +1729,7 @@ combinedScenarios.each { scenario ->
buildCommands += "rm -rf .clr; mkdir .clr; mv * .clr; mv .git .clr; mv .clr clr"
// Get corefx
- buildCommands += "git clone https://github.com/dotnet/corefx fx"
+ buildCommands += "git clone -b $branch --single-branch https://github.com/dotnet/corefx fx"
// Set environment variable
def setEnvVar = getStressModeEnvSetCmd(os, scenario)