/
Jenkinsfile
29 lines (29 loc) · 883 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pipeline {
agent any
stages {
stage('Build & Test Model'){
steps {
sh 'chmod 777 scripts/train_test_log.sh'
echo "Executing Training Script"
sh './scripts/train_test_log.sh'
echo "Training & Logging Complete"
}
}
stage('Productionize'){
steps {
sh 'chmod 777 scripts/Productionize.sh'
echo "Getting Model for Production"
sh './scripts/Productionize.sh'
echo "Best Model Updated"
}
}
stage('Test Server'){
steps {
sh 'chmod 777 scripts/triton_test.sh'
echo "Testing Triton Inference Server"
sh './scripts/triton_test.sh'
echo "Triton Server is working"
}
}
}
}