include sonarqube step - FIX

This commit is contained in:
Alex Baptista 2017-12-01 19:52:52 -02:00
parent 4fc50c482f
commit e477a3c299

2
Jenkinsfile vendored
View file

@ -13,7 +13,7 @@ node('Slave_AWS'){
}
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')
{