diff --git a/Jenkinsfile b/Jenkinsfile index c532fb5..8c37603 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 + """ } } } diff --git a/bin/ec-linux-amd64 b/bin/ec-linux-amd64 new file mode 100755 index 0000000..6735f66 Binary files /dev/null and b/bin/ec-linux-amd64 differ diff --git a/ec-linux-amd64.tar.gz b/ec-linux-amd64.tar.gz new file mode 100644 index 0000000..9661679 Binary files /dev/null and b/ec-linux-amd64.tar.gz differ