From e477a3c299b3d84f0e2b77b63bd9d3e3797b16d2 Mon Sep 17 00:00:00 2001 From: Alex Baptista Date: Fri, 1 Dec 2017 19:52:52 -0200 Subject: [PATCH] include sonarqube step - FIX --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 39a7f9b0c..043d0f83b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {