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') {
agent any
steps {
tool 'maven'
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
}
sh 'mvn clean install'
}
}
stage('Build container') {