diff --git a/Jenkinsfile b/Jenkinsfile index af66e8b..bfbcfaf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -277,6 +277,10 @@ pipeline { branch 'develop' } + tools { + nodejs 'node22' + } + steps { script { def scannerHome = tool 'sonar-scanner' @@ -284,6 +288,9 @@ pipeline { withEnv(["SCANNER_HOME=${scannerHome}"]) { withSonarQubeEnv('sonarqube') { sh ''' + echo "Node utilisé par Sonar :" + node -v + "${SCANNER_HOME}/bin/sonar-scanner" \ -Dsonar.projectKey=THE-TIP-TOP \ -Dsonar.projectName=THE-TIP-TOP \