Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guido Gunther
image-builder
Commits
40c47a55
Commit
40c47a55
authored
Mar 15, 2019
by
Hugo Grostabussiat
Browse files
Jenkinsfile: Add boot image to the list of artifacts
parent
55aeb2c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
40c47a55
...
@@ -4,6 +4,7 @@ node {
...
@@ -4,6 +4,7 @@ node {
artifacts
=
"checksums,${params.board}.img.xz,tmp/*-report.log,files/meta.yml"
artifacts
=
"checksums,${params.board}.img.xz,tmp/*-report.log,files/meta.yml"
build_on_x86
=
[
'imx6'
,
'qemu-x86_64'
]
build_on_x86
=
[
'imx6'
,
'qemu-x86_64'
]
qcow2_builds
=
[
'qemu-x86_64'
]
qcow2_builds
=
[
'qemu-x86_64'
]
separate_boot_image
=
[]
currentBuild
.
description
=
"${params.board} ${params.dist} ${build_type} image"
currentBuild
.
description
=
"${params.board} ${params.dist} ${build_type} image"
parameters
{
parameters
{
...
@@ -23,6 +24,10 @@ node {
...
@@ -23,6 +24,10 @@ node {
artifacts
+=
",${params.board}.qcow2"
artifacts
+=
",${params.board}.qcow2"
}
}
if
(
separate_boot_image
.
contains
(
params
.
board
))
{
artifacts
+=
",${params.board}-boot.img.xz"
}
node
(
nodename
)
{
node
(
nodename
)
{
stage
(
'Setup'
)
{
stage
(
'Setup'
)
{
git
url:
gitUrl
,
branch:
branch
git
url:
gitUrl
,
branch:
branch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment