From 6634fef1e05f350ed4613c6d37b1372cc97e1ad4 Mon Sep 17 00:00:00 2001 From: Daniel Kasmeroglu Date: Thu, 22 Aug 2024 15:59:38 +0200 Subject: [PATCH] ~ experimental: jenkins pipeline for home server #7 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c959eb8..e37d83a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,7 +35,7 @@ pipeline { steps { // properties such as sonar.host.url and sonar.login are configured in the m2 settings.xml for this profile // sh 'mvn clean verify -Psonar -Dsonar.projectKey=kcl' - withSonarQubeEnv('sonarqube') { + withSonarQubeEnv('sonarqube', credentialsId: 'sonar-key') { sh "./node_modules/sonar-scanner/bin/sonar-scanner" } }