Skip to content

Commit 8c76bf5

Browse files
committed
fix sonar syntax docker#2
1 parent 67b3894 commit 8c76bf5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ pipeline {
1616

1717
stage('SonarQube Analysis') {
1818
steps {
19-
def scannerHome = tool 'SonarScanner';
20-
withSonarQubeEnv() {
21-
sh "${scannerHome}/bin/sonar-scanner"
22-
}
19+
def scannerHome = tool 'sonar';
20+
// withSonarQubeEnv() {
21+
sh "${scannerHome}/bin/sonar-scanner"
22+
// }
2323
}
2424

2525
}

0 commit comments

Comments
 (0)