Reverted Build stage

This commit is contained in:
Dmitry 2017-05-10 08:03:02 -07:00
parent eb1e9eea62
commit 6b0102fcbd

16
Jenkinsfile vendored
View file

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