removed docker build step

This commit is contained in:
matthewpdias 2018-03-07 15:29:59 -08:00
parent 79b053c200
commit 3153997748

View file

@ -10,16 +10,12 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
agent { agent any
docker {
image 'maven:3.5.0'
}
}
steps { steps {
configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) { configFileProvider([configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B' sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true -B'
} }
} }
} }
stage('Build container') { stage('Build container') {
agent any agent any
@ -50,4 +46,4 @@ pipeline {
} }
} }
} }
} }