Odoo18-Base/Jenkinsfile

19 lines
477 B
Plaintext
Raw Normal View History

2025-01-07 14:44:26 +07:00
node('Node-Dev-100163') {
try {
2025-01-07 14:44:26 +07:00
stage('Checkout') {
checkout scm
}
2025-01-07 14:44:26 +07:00
stage('Setup') {
sh 'make install'
}
2025-01-07 14:44:26 +07:00
stage('Testing') {
sh 'make gen_test_config'
sh 'make run_test'
2025-01-07 14:44:26 +07:00
sh 'make clean_test'
}
2025-01-07 14:44:26 +07:00
currentBuild.result = "SUCCESS" // Set success status after all stages complete
} catch (err) {
2025-01-07 12:20:00 +07:00
currentBuild.result = "FAILURE"
throw err
2025-01-06 13:44:28 +07:00
}
}