Skip to content

Commit

Permalink
Disable concurrency throttling on Windows
Browse files Browse the repository at this point in the history
Not required currently
  • Loading branch information
mmitche committed Nov 18, 2015
1 parent 3828197 commit 203b656
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions netci.groovy
Expand Up @@ -15,11 +15,13 @@ static void addLogRotator(def myJob) {
static void addConcurrentBuild(def myJob, String category) {
myJob.with {
concurrentBuild(true)
throttleConcurrentBuilds {
throttleDisabled(false)
maxTotal(0)
maxPerNode(1)
categories([category])
if (category != null) {
throttleConcurrentBuilds {
throttleDisabled(false)
maxTotal(0)
maxPerNode(1)
categories([category])
}
}
}
}
Expand Down Expand Up @@ -173,7 +175,8 @@ set TMP=%TEMP%
.\\cibuild.cmd ${(configuration == 'dbg') ? '/debug' : '/release'} ${(buildTarget == 'unit32') ? '/test32' : '/test64'}""")
}
}
addConcurrentBuild(myJob, 'roslyn/win/unit')
// Generic throttling for Windows, no category
addConcurrentBuild(myJob, null)
break;
case 'linux':
myJob.with {
Expand Down

0 comments on commit 203b656

Please sign in to comment.