ci: fix attempt #1 sonarqube
All checks were successful
Anthrove/Otter-Space-SDK/pipeline/head This commit looks good

This commit is contained in:
SoXX 2024-07-19 11:16:17 +02:00
parent 79f06d4e4c
commit 8736a2ef5e

10
Jenkinsfile vendored
View File

@ -23,9 +23,13 @@ pipeline {
agent { agent {
docker { image 'amazoncorretto:22-alpine' } docker { image 'amazoncorretto:22-alpine' }
} }
def scannerHome = tool 'SonarScanner' steps {
withSonarQubeEnv() { script {
sh "${scannerHome}/bin/sonar-scanner" def scannerHome = tool 'SonarScanner'
withSonarQubeEnv() {
sh "${scannerHome}/bin/sonar-scanner"
}
}
} }
} }
} }