|
@@ -9,7 +9,7 @@ pipeline {
|
|
}
|
|
}
|
|
stage('Build') {
|
|
stage('Build') {
|
|
steps {
|
|
steps {
|
|
- echo 'Building..'
|
|
|
|
|
|
+ echo 'Building.. $((${BUILD_NUMBER}-1))'
|
|
sh 'docker-compose down'
|
|
sh 'docker-compose down'
|
|
sh 'docker rmi master:$((${BUILD_NUMBER}-1))'
|
|
sh 'docker rmi master:$((${BUILD_NUMBER}-1))'
|
|
sh '~/tools/apache-maven-3.6.3/bin/mvn clean install -Dmaven.test.skip=true'
|
|
sh '~/tools/apache-maven-3.6.3/bin/mvn clean install -Dmaven.test.skip=true'
|