summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2017-08-24 10:38:10 +0530
committerNigel Babu <nigelb@redhat.com>2018-03-19 11:29:28 +0530
commitdd5f596318d7bc3332f17e093fabb488d189d068 (patch)
treedc071fab35c8411e9505cf5c0a2ee9b9262f1b8b /build-gluster-org/scripts
parentbd4acca3e1627e02b93cf4bace59a7cca819cd78 (diff)
Add a nightly pipeline job for master
Change-Id: I518bd1c503c83b397e892dc58b5185ea6a896170
Diffstat (limited to 'build-gluster-org/scripts')
-rw-r--r--build-gluster-org/scripts/nightly-master.dsl58
1 files changed, 58 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/nightly-master.dsl b/build-gluster-org/scripts/nightly-master.dsl
new file mode 100644
index 0000000..c1af9f8
--- /dev/null
+++ b/build-gluster-org/scripts/nightly-master.dsl
@@ -0,0 +1,58 @@
+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'
+ }
+ }
+ stage('regression-ec-stripe-cache') {
+ steps {
+ build job: 'regression-test-ec-stripe-cache', parameters: [string(name: 'GERRIT_REFSPEC', value: 'refs/heads/master'), string(name: 'GERRIT_BRANCH', value: 'master')], propagate: true
+ echo 'Running centos7 regression with EC stripe cache'
+ }
+ }
+ stage('clang-scan') {
+ steps {
+ build job: 'clang-scan', parameters: [string(name: 'GERRIT_REFSPEC', value: 'refs/heads/master'), string(name: 'GERRIT_BRANCH', value: 'master')], propagate: true
+ echo 'Running clang scan'
+ }
+ }
+ stage('cppcheck') {
+ steps {
+ build job: 'cppcheck', parameters: [string(name: 'GERRIT_REFSPEC', value: 'refs/heads/master'), string(name: 'GERRIT_BRANCH', value: 'master')], propagate: true
+ echo 'Running cppcheck'
+ }
+ }
+ stage('line-coverage') {
+ steps {
+ build job: 'line-coverage', parameters: [string(name: 'GERRIT_REFSPEC', value: 'refs/heads/master'), string(name: 'GERRIT_BRANCH', value: 'master')], propagate: true
+ echo 'Running line coverage'
+ }
+ }
+ }
+ }
+ }
+ post {
+ always {
+ deleteDir() /* clean up our workspace */
+ }
+ }
+}