| #!groovy |
| |
| properties([ |
| buildDiscarder(logRotator(daysToKeepStr: '30')) |
| ]) |
| |
| if (env.NODE_LABELS == null) { |
| env.NODE_LABELS = "(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)" |
| } |
| |
| parallel( |
| centos7: { |
| node(env.NODE_LABELS) { |
| deleteDir() |
| |
| checkout scm |
| |
| sh("CENTOS_DISTRO=7 support/packaging/centos/build-rpm-docker.sh") |
| |
| archiveArtifacts(artifacts: '**/*.rpm', fingerprint: true) |
| } |
| }, |
| centos6: { |
| node(env.NODE_LABELS) { |
| deleteDir() |
| |
| checkout scm |
| |
| sh("CENTOS_DISTRO=6 support/packaging/centos/build-rpm-docker.sh") |
| |
| archiveArtifacts(artifacts: '**/*.rpm', fingerprint: true) |
| } |
| } |
| ) |