Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FFS Gluon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
firmware
FFS Gluon
Commits
7302fbf5
Commit
7302fbf5
authored
Dec 29, 2019
by
Matthias Schiffer
Committed by
Martin Weinelt
Dec 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jenkinsfile: fix parallel step declaration
parent
4de6f3ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
21 deletions
+15
-21
contrib/ci/Jenkinsfile
contrib/ci/Jenkinsfile
+15
-21
No files found.
contrib/ci/Jenkinsfile
View file @
7302fbf5
def
lualint
()
{
make
lint
-
lua
}
def
shelllint
()
{
make
lint
-
sh
}
run_lint_set
=
[
"task1"
:
{
lualint
()
},
"task2"
:
{
shelllint
()
}
]
pipeline
{
agent
{
label
'gluon-docker'
}
agent
none
environment
{
GLUON_SITEDIR
=
"contrib/ci/minimal-site"
GLUON_TARGET
=
"x86-64"
...
...
@@ -24,18 +7,29 @@ pipeline {
}
stages
{
stage
(
'lint'
)
{
steps
{
script
{
parallel
(
run_lint_set
)
parallel
{
stage
(
'lint-lua'
)
{
agent
{
label
'gluon-docker'
}
steps
{
sh
'make lint-lua'
}
}
stage
(
'lint-sh'
)
{
agent
{
label
'gluon-docker'
}
steps
{
sh
'make lint-sh'
}
}
}
}
stage
(
'docs'
)
{
agent
{
label
'gluon-docker'
}
steps
{
sh
'make -C docs html'
}
}
stage
(
'build'
)
{
agent
{
label
'gluon-docker'
}
steps
{
sh
'make update'
sh
'test -d /dl_cache && ln -s /dl_cache openwrt/dl || true'
...
...
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