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