From 1f17ed7999da420006541c921e6a7895771e35ce Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Thu, 7 Jan 2021 20:36:19 +0100 Subject: [PATCH] Added Jenkinsfile --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5cc66da..04500a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,10 @@ pipeline { stage('Prepare SonarQube') { steps { - withSonarQubeEnv(installationName: 'sh \'sonar-scanner\'', credentialsId: 'sonarcubescanner') + withSonarQubeEnv(installationName: 'sonarcubescanner', envOnly: true) { + sh 'sh \'sonar-scanner\'' + } + } }