Add Jenkinsfile
authorJonathan Dieter <jdieter@gmail.com>
Wed, 14 Nov 2018 22:46:43 +0000 (22:46 +0000)
committerJonathan Dieter <jdieter@gmail.com>
Wed, 14 Nov 2018 22:46:43 +0000 (22:46 +0000)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
Jenkinsfile [new file with mode: 0644]

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644 (file)
index 0000000..e343b59
--- /dev/null
@@ -0,0 +1,41 @@
+node {
+    stage('Prep') {
+        git "https://github.com/zchunk/zchunk.git"
+    }
+    stage('Build') {
+        parallel fedora: {
+            
+            sh "./autotest/fedora-latest/build.sh"
+        },
+        centos: {
+            sh "./autotest/centos-latest/build.sh"
+        },
+        opensuse: {
+            sh "./autotest/opensuse-leap/build.sh"
+        },
+        debian: {
+            sh "./autotest/debian-latest/build.sh"
+        },
+        ubuntu: {
+            sh "./autotest/ubuntu-rolling/build.sh"
+        }
+    }
+    stage('Test') {
+        parallel fedora: {
+            
+            sh "./autotest/fedora-latest/test.sh"
+        },
+        centos: {
+            sh "./autotest/centos-latest/test.sh"
+        },
+        opensuse: {
+            sh "./autotest/opensuse-leap/test.sh"
+        },
+        debian: {
+            sh "./autotest/debian-latest/test.sh"
+        },
+        ubuntu: {
+            sh "./autotest/ubuntu-rolling/test.sh"
+        }
+    }
+}