Jenkinsfile: add editorconfig-checker #29

Manually merged
kunsi merged 3 commits from kunsi-editorconfig-checker into main 2021-02-17 12:33:56 +00:00
Showing only changes of commit fb87c8a20a - Show all commits

18
Jenkinsfile vendored
View file

@ -1,6 +1,15 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('editorconfig-checker') {
steps {
sh """
wget -Oec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/latest/download/ec-linux-amd64.tar.gz
tar -xzf ec-linux-amd64.tar.gz && rm ec-linux-amd64.tar.gz
bin/ec-linux-amd64 -no-color
"""
}
}
stage('install_requirements') { stage('install_requirements') {
steps { steps {
sh """ sh """
@ -14,15 +23,6 @@ pipeline {
""" """
} }
} }
stage('editorconfig-checker') {
steps {
sh """
wget -Oec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/latest/download/ec-linux-amd64.tar.gz
tar -xzf ec-linux-amd64.tar.gz && rm ec-linux-amd64.tar.gz
bin/ec-linux-amd64
"""
}
}
stage('bw test') { stage('bw test') {
parallel { parallel {
stage('config and metadata determinism') { stage('config and metadata determinism') {