Skip to content

Commit

Permalink
jenkins: gcc 4.8 for < 10, gcc 6 >= 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Apr 10, 2018
1 parent 5f861bb commit 8543e21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jenkins/scripts/VersionSelectorScript.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ def canBuild(nodeMajorVersion, builderLabel, buildType) {
return false
if (buildType == 'release' && builderLabel.indexOf('centos6') == 0 && nodeMajorVersion < 8)
return false
if (buildType != 'release' && builderLabel =~ /centos6-\d\d-gcc48/ && nodeMajorVersion >= 10)
return false
if (buildType != 'release' && builderLabel =~ /centos6-\d\d-gcc6/ && nodeMajorVersion < 10)
return false

// Windows
if (builderLabel.indexOf('vs2013-') == 0 && nodeMajorVersion >= 6)
Expand Down

0 comments on commit 8543e21

Please sign in to comment.