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

This avoids collisions with files inside venv/
This commit is contained in:
Franzi 2021-02-17 13:24:29 +01:00
parent 5984a0741e
commit fb87c8a20a
Signed by: kunsi
GPG key ID: 12E3D2136B818350

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') {