clean before the build
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -4,6 +4,11 @@ pipeline {
|
||||
maven "Maven 3.6.3"
|
||||
}
|
||||
stages {
|
||||
stage('Clean') {
|
||||
steps {
|
||||
sh "docker rm klaus"
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh "docker-compose build"
|
||||
|
||||
Reference in New Issue
Block a user