This commit is contained in:
Sandeep Sridhar Dudi 2019-08-25 18:05:48 +05:30
parent 03775e6da3
commit a076a429e3

View file

@ -18,4 +18,15 @@ node {
} }
} }
} }
stage('Sonar Scan Execution'){
//Run the sonar scan
steps {
script{
def mvnHome = tool 'M3'
withSonarQubeDev{
sh "'${mvnHome}/bin/mvn' verify sonar:sonar -Dintegration-tests.skip=true -Dmaven.test.failure.ignore=true"
}
}
}
}
} }