Skip to content

Commit b43dd92

Browse files
authored
change mvn command, #6254 (#6256)
* Update sonar plugin version, fixes #6254 * update mvn target to fix sonar, fixes #6254
1 parent eb370c5 commit b43dd92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile.daily

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pipeline {
9292
steps {
9393
echo 'Checking Code Quality on SonarCloud'
9494
withCredentials([string(credentialsId: 'sonarcloud-key-apache-hop', variable: 'SONAR_TOKEN')]) {
95-
sh 'mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_hop -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.token=${SONAR_TOKEN}'
95+
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_hop -Dsonar.branch.name=${BRANCH_NAME} -Dsonar.token=${SONAR_TOKEN}'
9696
}
9797
}
9898
}

0 commit comments

Comments
 (0)