From fb87c8a20afaaf79755bca835e8d8c3ba94bd220 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 17 Feb 2021 13:24:29 +0100 Subject: [PATCH] Jenkinsfile: move editorconfig checker to front This avoids collisions with files inside venv/ --- Jenkinsfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e172b78..d51bef6 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 + """ + } + } stage('install_requirements') { steps { 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') { parallel { stage('config and metadata determinism') {