This commit is contained in:
hoangvv 2025-01-07 23:23:41 +07:00
parent 4eded567a7
commit 032b5897a6

6
Jenkinsfile vendored
View File

@ -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"