From 075fddfe9243558958c03acd8347b624e37eec53 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Thu, 7 Jan 2021 20:37:40 +0100 Subject: [PATCH] Added Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 04500a6..d5ba264 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,8 +21,8 @@ pipeline { stage('Prepare SonarQube') { steps { - withSonarQubeEnv(installationName: 'sonarcubescanner', envOnly: true) { - sh 'sh \'sonar-scanner\'' + withSonarQubeEnv('sonarcubescanner') { + sh 'sonar-scanner' } }