Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
kernel-builder
Commits
a57f4f1c
Commit
a57f4f1c
authored
Feb 21, 2019
by
Angus Ainslie (Purism)
Browse files
Jenkinsfile : pass DOT_CONFIG though
parent
ff476f2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
a57f4f1c
...
...
@@ -7,6 +7,7 @@ node {
string
(
name:
'board'
,
defaultValue:
"devkit"
,
description:
'What board type to build for?'
)
string
(
name:
'kernel_url'
,
defaultValue:
"https://source.puri.sm/Librem5/linux-emcraft"
,
description:
'Which kernel repo should get built?'
)
string
(
name:
'kernel_branch'
,
defaultValue:
"imx8-4.18-wip"
,
description:
'Which kernel branch should get built?'
)
string
(
name:
'dot_config'
,
defaultValue:
"librem5-evk_defconfig"
,
description:
'Which kernel config should get built?'
)
string
(
name:
'build_type'
,
defaultValue:
"latest"
,
description:
'What type of build is this?'
)
string
(
name:
'publish'
,
defaultValue:
"false"
,
description:
'Should the image get published?'
)
string
(
name:
'MAKE_OPTS'
,
defaultValue:
""
,
description:
'extra make options'
)
...
...
@@ -16,7 +17,7 @@ node {
git
url:
gitUrl
,
branch:
branch
}
stage
(
'Build kernel'
)
{
sh
"KERNEL_REPO=${kernel_url} KERNEL_BRANCH=${kernel_branch} MAKE_OPTS=${MAKE_OPTS} ./build_kernel_deb.sh -b ${board}"
sh
"KERNEL_REPO=${kernel_url} KERNEL_BRANCH=${kernel_branch} MAKE_OPTS=${MAKE_OPTS}
DOT_CONFIG=${dot_config}
./build_kernel_deb.sh -b ${board}"
}
stage
(
'Publish'
)
{
if
(
"${params.publish}"
==
"true"
)
{
...
...
Write
Preview
Supports
Markdown
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