From 89c23891105c8eed762fa2f1d703e2c76d54713f Mon Sep 17 00:00:00 2001 From: Jonathan Dieter Date: Wed, 14 Nov 2018 22:46:43 +0000 Subject: [PATCH] Add Jenkinsfile Signed-off-by: Jonathan Dieter --- Jenkinsfile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..e343b59 --- /dev/null +++ b/Jenkinsfile @@ -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" + } + } +} -- 2.30.2