Skip to content

Commit

Permalink
Filter build matrix for distributions where tarantool-php fails to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Nazarov committed Feb 10, 2017
1 parent 5808fbc commit a816334
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
matrix = [
[OS: 'el', DIST: '6', PACK: 'rpm'],
//[OS: 'el', DIST: '7', PACK: 'rpm'],
[OS: 'fedora', DIST: '24', PACK: 'rpm'],
[OS: 'ubuntu', DIST: 'precise', PACK: 'deb'],
[OS: 'ubuntu', DIST: 'trusty', PACK: 'deb'],
[OS: 'ubuntu', DIST: 'yakkety', PACK: 'deb'],
[OS: 'debian', DIST: 'jessie', PACK: 'deb'],
]

stage('Build'){
packpack = new org.tarantool.packpack()

matrix = packpack.filterMatrix(
packpack.default_matrix,
{!(it['OS'] == 'ubuntu' && it['DIST'] == 'xenial') &&
!(it['OS'] == 'ubuntu' && it['DIST'] == 'yakkety') &&
!(it['OS'] == 'fedora' && it['DIST'] == 'rawhide') &&
!(it['OS'] == 'fedora' && it['DIST'] == '25') &&
!(it['OS'] == 'debian' && it['DIST'] == 'stretch')})

node {
checkout scm
packpack.prepareSources()
Expand Down

0 comments on commit a816334

Please sign in to comment.