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 { pipeline {
agent { label 'gluon-docker' } agent { label 'gluon-docker' }
environment { environment {
...@@ -8,7 +25,9 @@ pipeline { ...@@ -8,7 +25,9 @@ pipeline {
stages { stages {
stage('lint') { stage('lint') {
steps { steps {
sh 'luacheck package scripts targets' script {
parallel(run_lint_set)
}
} }
} }
stage('docs') { stage('docs') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment