Jenkinsfile: add editorconfig checker
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2021-02-17 13:22:21 +01:00
parent 6118e6a530
commit 5984a0741e
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 13 additions and 1 deletions

14
Jenkinsfile vendored
View file

@ -14,6 +14,15 @@ 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') {
parallel {
stage('config and metadata determinism') {
@ -43,7 +52,10 @@ pipeline {
}
post {
always {
sh 'rm -rf venv'
sh """
rm -rf venv
rm -rf bin
"""
}
}
}

BIN
bin/ec-linux-amd64 Executable file

Binary file not shown.

BIN
ec-linux-amd64.tar.gz Normal file

Binary file not shown.