mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
include sonarqube step - FIX
This commit is contained in:
parent
4fc50c482f
commit
e477a3c299
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -13,7 +13,7 @@ node('Slave_AWS'){
|
||||||
}
|
}
|
||||||
stage('Sonarqube')
|
stage('Sonarqube')
|
||||||
{
|
{
|
||||||
docker run --rm --name maven -v $(pwd):/app docker.io/maven:alpine bash -c "cd app; mvn clean install cobertura:cobertura -Dcobertura.report.format=xml sonar:sonar -Dsonar.host.url=http://34.205.24.188:9000"
|
sh 'docker run --rm --name maven -v $(pwd):/app docker.io/maven:alpine bash -c "cd app; mvn clean install cobertura:cobertura -Dcobertura.report.format=xml sonar:sonar -Dsonar.host.url=http://34.205.24.188:9000"'
|
||||||
}
|
}
|
||||||
stage('Archive artifact')
|
stage('Archive artifact')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue