update
This commit is contained in:
parent
4eded567a7
commit
032b5897a6
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -4,6 +4,9 @@ node('Node-Dev-100163') {
|
|||||||
echo 'Pulling...' + env.BRANCH_NAME
|
echo 'Pulling...' + env.BRANCH_NAME
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
|
stage('Cleanup') {
|
||||||
|
sh 'make clean_up'
|
||||||
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
sh 'make install'
|
sh 'make install'
|
||||||
sh 'make stop_server_docker'
|
sh 'make stop_server_docker'
|
||||||
@ -20,9 +23,6 @@ node('Node-Dev-100163') {
|
|||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
sh 'make push_image'
|
sh 'make push_image'
|
||||||
}
|
}
|
||||||
// stage('Cleanup') {
|
|
||||||
// sh 'make clean_up'
|
|
||||||
// }
|
|
||||||
currentBuild.result = "SUCCESS" // Set success status after all stages complete
|
currentBuild.result = "SUCCESS" // Set success status after all stages complete
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
currentBuild.result = "FAILURE"
|
currentBuild.result = "FAILURE"
|
||||||
|
Loading…
Reference in New Issue
Block a user