Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
add sonarqube
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed Apr 5, 2024
1 parent f1db81f commit f104197
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ pipeline {
sh 'ls -la'
}
}
stage ('sonarqube') {
steps {
withSonarQubeEnv('newnewtitanium') {
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
}
stage('run website') {
steps {
sh './Jenkins/start.sh'
Expand Down

0 comments on commit f104197

Please sign in to comment.