Commit 5c7586f2 authored by Heather Ellsworth's avatar Heather Ellsworth

Merge branch 'archive-qcow2' into 'master'

Archive qcow2 image as well

See merge request Librem5/image-builder!40
parents 931c1b6f b3f0b970
......@@ -3,6 +3,7 @@ node {
branch = 'master'
artifacts = "checksums,${params.board}.img.xz"
build_on_x86 = [ 'imx6', 'qemu-x86_64' ]
qcow2_builds = [ 'qemu-x86_64' ]
currentBuild.description = "${params.board} image"
parameters {
......@@ -17,15 +18,19 @@ node {
nodename = 'master'
}
if (qcow2_builds.contains(params.board)) {
artifacts += ",${params.board}.qcow2"
}
node (nodename) {
stage('Setup') {
git url: gitUrl, branch: branch
}
stage('Clean') {
sh "make clean"
sh "make BOARD='${params.board}' TYPE='${params.build_type}' clean"
}
stage('check') {
sh "make check"
sh "make BOARD='${params.board}' TYPE='${params.build_type}' check"
}
stage('Build') {
sh "make BOARD='${params.board}' TYPE='${params.build_type}'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment