From: Jonathan Dieter Date: Wed, 14 Nov 2018 22:46:43 +0000 (+0000) Subject: Add Jenkinsfile X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~74 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=89c23891105c8eed762fa2f1d703e2c76d54713f;p=zchunk.git Add Jenkinsfile Signed-off-by: Jonathan Dieter --- 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" + } + } +}