diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-09-24 10:13:48 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-09-24 10:14:16 +0530 |
commit | 55a89d35ef8bb7045ddd0908ce26bb5c0f6ecabd (patch) | |
tree | 71353caef8a3277dcf4fe8170ea122b3c05556a0 /build-gluster-org/scripts | |
parent | d6508f8bbaf397b132fc25e44bef625da1552595 (diff) |
Add a nightly release-5 job
Change-Id: I3783931f7f351a34e749cba3d7f55fb3937ae67b
Signed-off-by: Nigel Babu <nigelb@redhat.com>
Diffstat (limited to 'build-gluster-org/scripts')
-rw-r--r-- | build-gluster-org/scripts/nightly-release-5.dsl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/nightly-release-5.dsl b/build-gluster-org/scripts/nightly-release-5.dsl new file mode 100644 index 0000000..57d2897 --- /dev/null +++ b/build-gluster-org/scripts/nightly-release-5.dsl @@ -0,0 +1,35 @@ +pipeline { + agent { label 'smoke7' } + + stages { + stage('Build RPM') { + steps { + checkout([$class: 'GitSCM', branches: [[name: '$GERRIT_BRANCH']], userRemoteConfigs: [[name: 'origin', refspec: '$GERRIT_REFSPEC', url: 'git://review.gluster.org/glusterfs']]]) + build job: 'rpm-el7', parameters: [string(name: 'GERRIT_REFSPEC', value: "$GERRIT_REFSPEC"), string(name: 'GERRIT_BRANCH', value: "$GERRIT_BRANCH")], propagate: true + build job: 'rpm-fedora', parameters: [string(name: 'GERRIT_REFSPEC', value: "$GERRIT_REFSPEC"), string(name: 'GERRIT_BRANCH', value: "$GERRIT_BRANCH")], propagate: true + } + } + stage('Tests') { + parallel { + stage('regression') { + steps { + build job: 'regression-test-burn-in', parameters: [string(name: 'GERRIT_REFSPEC', value: 'refs/heads/master'), string(name: 'GERRIT_BRANCH', value: 'master')], propagate: true + echo 'Running centos7 regression' + } + } + stage('regression-with-multiplex') { + steps { + build job: 'regression-test-with-multiplex', parameters: [string(name: 'GERRIT_REFSPEC', value: 'refs/heads/master'), string(name: 'GERRIT_BRANCH', value: 'master')], propagate: true + echo 'Running centos7 regression with multiplex' + } + } + } + } + } + post { + always { + deleteDir() /* clean up our workspace */ + } + } +} + |