diff options
author | jashook <jashoo@microsoft.com> | 2017-09-22 14:02:55 -0700 |
---|---|---|
committer | jashook <jashoo@microsoft.com> | 2017-09-22 14:02:55 -0700 |
commit | f8215bed2fc76a2b87046d32fe8d32c04ec8f5f2 (patch) | |
tree | 6d0338f2613699a08ffe8ff2efd20ae975a1932e /netci.groovy | |
parent | 976f4930654c93a2f351db408d08ec01d277ed22 (diff) | |
download | coreclr-f8215bed2fc76a2b87046d32fe8d32c04ec8f5f2.tar.gz coreclr-f8215bed2fc76a2b87046d32fe8d32c04ec8f5f2.tar.bz2 coreclr-f8215bed2fc76a2b87046d32fe8d32c04ec8f5f2.zip |
Fix incorrect use of local var
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/netci.groovy b/netci.groovy index 3409a0f70e..990153471f 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1777,20 +1777,17 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${architecture} toolset_dir C:\\ats2" } else { - if ((scenario != 'gcstress0x3') && (scenario != 'gcstress0xc')) - { - // Up the timeout for arm64 checked testing only. - // Keep the longer timeout for gcstress. - Utilities.setJobTimeout(newJob, 240) - } + if ((scenario != 'gcstress0x3') && (scenario != 'gcstress0xc')) { + // Up the timeout for arm64 checked testing only. + // Keep the longer timeout for gcstress. + Utilities.setJobTimeout(newJob, 240) + } - if (priority == "1") - { - buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${buildArchitecture} -priority=1" + if (priority == "1") { + buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${architecture} toolset_dir C:\\ats2 -priority=1" } - else - { - buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${buildArchitecture}" + else{ + buildCommands += "set __TestIntermediateDir=int&&build.cmd ${lowerConfiguration} ${architecture} toolset_dir C:\\ats2" } // Test build and run are launched together. |