mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
removed docker build step
This commit is contained in:
parent
79b053c200
commit
3153997748
1 changed files with 3 additions and 7 deletions
|
@ -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 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue