This commit is contained in:
mitesh51 2018-06-03 15:56:43 +05:30 committed by GitHub
parent 29503c4f91
commit f1f30d3c9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -15,7 +15,7 @@ node {
// Sonarqube 7 must be configured in the Jenkins Manage Jenkins -> Configure System -> Add SonarQube server // Sonarqube 7 must be configured in the Jenkins Manage Jenkins -> Configure System -> Add SonarQube server
withSonarQubeEnv('Sonar7.1') { withSonarQubeEnv('Sonar7.1') {
bat "${scannerHome}/bin/sonar-scanner -Dsonar.host.url=http://localhost:9000 -Dsonar.login=4589cdd82528c33f782b63254d9656d564f42bd1 -Dsonar.projectVersion=1.0 -Dsonar.projectKey=PetClinic_Key -Dsonar.sources=src" bat "${scannerHome}/bin/sonar-scanner -Dsonar.host.url=http://localhost:9000 -Dsonar.login=4589cdd82528c33f782b63254d9656d564f42bd1 -Dsonar.projectVersion=1.0 -Dsonar.projectKey=PetClinic_Key -Dsonar.sources=src -Dsonar.java.binaries=."
} }
} }
stage('Build') { stage('Build') {