Skip to content
Snippets Groups Projects
Unverified Commit 600e6735 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt Committed by Matthias Schiffer
Browse files

CI Jenkinsfile: add parallel task for shellcheck lint

parent 6024c7a2
No related branches found
No related tags found
No related merge requests found
def lualint() {
make lint-lua
}
def shelllint() {
make lint-sh
}
run_lint_set = [
"task1": {
lualint()
},
"task2": {
shelllint()
}
]
pipeline {
agent { label 'gluon-docker' }
environment {
......@@ -8,7 +25,9 @@ pipeline {
stages {
stage('lint') {
steps {
sh 'luacheck package scripts targets'
script {
parallel(run_lint_set)
}
}
}
stage('docs') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment