moved out maven command

This commit is contained in:
matthewpdias 2018-03-07 15:34:31 -08:00
parent e23c08f8b5
commit 61be4c6725

View file

@ -12,10 +12,7 @@ pipeline {
stage('Build') { stage('Build') {
agent any agent any
steps { steps {
tool 'maven' sh 'mvn clean install'
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
}
} }
} }
stage('Build container') { stage('Build container') {