From 0dc5ef7f8b940296b3e9f3690f610044f7dc9501 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Thu, 7 Jan 2021 20:58:17 +0100 Subject: [PATCH] Added Jenkinsfile --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 265ef01..281b967 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,8 @@ pipeline { stage('Prepare SonarQube') { steps { withSonarQubeEnv(installationName: 'SonarQube', credentialsId: '4cdfb484-a052-41be-8739-3e1c232b5f38') { - sh '/opt/sonar-scanner/bin/sonar-scanner' + sh '/opt/sonar-scanner/bin/sonar-scanner -Dsonar.projectKey=rcon' + waitForQualityGate(credentialsId: '4cdfb484-a052-41be-8739-3e1c232b5f38') } }