From 9e9f3f164ee393eb820815f5a2b3b56db95f1bcd Mon Sep 17 00:00:00 2001 From: UnicronNL Date: Wed, 14 Aug 2019 16:02:23 +0200 Subject: update Jenkins file for equuleus --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index e8b83415..28f3fcb7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -67,7 +67,7 @@ setDescription() pipeline { options { - disableConcurrentBuilds() + disableConequuleusBuilds() timeout(time: 4, unit: 'HOURS') parallelsAlwaysFailFast() } -- cgit v1.2.3 From f5bfb71713802f237fa73bb163e18716c2249e56 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 14 Sep 2019 18:25:04 +0200 Subject: Jenkins: fix rename error --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 6b1ca4ae..ee5b7528 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -66,7 +66,7 @@ setDescription() pipeline { options { - disableConequuleusBuilds() + disableConcurrentBuilds() timeout(time: 4, unit: 'HOURS') parallelsAlwaysFailFast() } -- cgit v1.2.3 From 8bfc9cf65229a6c2406b68dd4a478d78d79743c5 Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Fri, 27 Sep 2019 21:30:47 +0200 Subject: Adding test-suite to Jenkins pipeline --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 4383f230..01887914 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -117,6 +117,15 @@ pipeline { """ } } + stage('Test') { + steps { + sh """ + sudo apt-get update && sudo apt-get install -y python3-pexpect qemu-kvm + cd build/ + sudo ../scripts/check-qemu-install --debug live-image-amd64.hybrid.iso + """ + } + } } post { success { -- cgit v1.2.3 From 7e14af718d2356a7c0d69acfb1994b965660fb30 Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Fri, 27 Sep 2019 21:49:30 +0200 Subject: Testsuite: Move needed packages to Dockerfile insted of in the Jenkins pipeline --- Jenkinsfile | 1 - docker/Dockerfile | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 01887914..fcf0dafd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -120,7 +120,6 @@ pipeline { stage('Test') { steps { sh """ - sudo apt-get update && sudo apt-get install -y python3-pexpect qemu-kvm cd build/ sudo ../scripts/check-qemu-install --debug live-image-amd64.hybrid.iso """ diff --git a/docker/Dockerfile b/docker/Dockerfile index 1052a8e8..799b118d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -280,6 +280,11 @@ RUN apt-get update && apt-get install -y \ python2.7-dev \ libmariadb-dev +# Packages needed for Qemu test-suite +RUN apt-get update && apt-get install -y \ + python3-pexpect \ + qemu-kvm + # Install packer RUN export LATEST="$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packer | \ jq -r -M '.current_version')"; \ -- cgit v1.2.3 From 9ff7a6b3ae7135664fd484209d4f325e60cc6dc7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 28 Nov 2019 18:39:10 +0100 Subject: Jenkins: archive ISO on failed builds if possible Imagine there is a proper build ISO but the tests are failing. It should be possible to check the ISO afterwards. --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index e86cd4e9..ae964099 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -147,6 +147,10 @@ pipeline { } } } + failure { + archiveArtifacts artifacts: 'build/live-image-amd64.hybrid.iso', + allowEmptyArchive: true + } cleanup { echo 'One way or another, I have finished' // the 'build' directory got elevated permissions during the build -- cgit v1.2.3