Jenkinsfile: add editorconfig-checker #29
3 changed files with 13 additions and 1 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -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
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
BIN
bin/ec-linux-amd64
Executable file
BIN
bin/ec-linux-amd64
Executable file
Binary file not shown.
BIN
ec-linux-amd64.tar.gz
Normal file
BIN
ec-linux-amd64.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in a new issue