Jenkinsfile: add editorconfig checker
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-17 13:37:26 +01:00
parent 6118e6a530
commit 4bd3945b6b
Signed by: kunsi
GPG key ID: 12E3D2136B818350

14
Jenkinsfile vendored
View file

@ -1,6 +1,15 @@
pipeline {
agent any
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 -exclude '^bin/'
"""
}
}
stage('install_requirements') {
steps {
sh """
@ -43,7 +52,10 @@ pipeline {
}
post {
always {
sh 'rm -rf venv'
sh """
rm -rf venv
rm -rf bin
"""
}
}
}