From 8928a0c516cda59140a0bee3e4a8ab42034ec979 Mon Sep 17 00:00:00 2001 From: Alexandr Mansurov Date: Sat, 9 Oct 2021 09:52:26 +0200 Subject: [PATCH] Jenkins prospector --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2840727..b8c1ee1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,7 +64,7 @@ pipeline { source /opt/conda/etc/profile.d/conda.sh conda activate "${WORKSPACE}@tmp/${BUILD_NUMBER}" pip install prospector[with_everything] - cd src; prospector -0 -o pylint:prospector.txt; cd ..; mv src/prospector.txt . + prospector -0 -o pylint:prospector.txt src conda deactivate ''' def scannerHome = tool name: 'SonarQubeScanner', type: 'hudson.plugins.sonar.SonarRunnerInstallation';