This commit is contained in:
Dmitry 2017-05-10 08:00:39 -07:00
parent e43e76d301
commit eb1e9eea62

16
Jenkinsfile vendored
View file

@ -6,14 +6,14 @@ pipeline {
} }
} }
stages { stages {
stage ('Build') { //stage ('Build') {
steps { // steps {
configFileProvider( // configFileProvider(
[configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) { // [configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true' // sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true'
} // }
} // }
} //}
stage ('Sonar') { stage ('Sonar') {
steps { steps {
sh '/var/jenkins_home/sonar/bin/sonar-runner' sh '/var/jenkins_home/sonar/bin/sonar-runner'