diff --git a/Jenkinsfile b/Jenkinsfile index a9153dfc7..d6a5f76df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,6 +4,9 @@ node('Node-Dev-100163') { echo 'Pulling...' + env.BRANCH_NAME checkout scm } + stage('Cleanup') { + sh 'make clean_up' + } stage('Build') { sh 'make install' sh 'make stop_server_docker' @@ -20,9 +23,6 @@ node('Node-Dev-100163') { stage('Publish') { sh 'make push_image' } - // stage('Cleanup') { - // sh 'make clean_up' - // } currentBuild.result = "SUCCESS" // Set success status after all stages complete } catch (err) { currentBuild.result = "FAILURE"