-
Notifications
You must be signed in to change notification settings - Fork 2
/
Jenkinsfile
48 lines (48 loc) · 1.41 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
pipeline {
agent none
stages {
stage('Parallel Stages') {
parallel {
stage('linux') {
agent {
docker {
label 'docker'
image 'dhealth/dev-pyecvl-base-cpu:f15a911-ae5a59b'
}
}
stages {
stage('Build') {
steps {
echo 'Building'
sh 'git submodule update --init --recursive third_party/pyeddl'
sh 'rm -rf build'
sh 'python3 setup.py install --user'
dir("third_party/pyeddl") {
sh 'rm -rf build'
sh 'python3 setup.py install --user'
}
}
}
stage('Test') {
steps {
echo 'Testing'
sh 'timeout 60 pytest tests'
sh 'timeout 300 bash examples/run_all.sh /ecvl/examples/data'
}
}
stage('linux_end') {
steps {
echo 'Success!'
}
}
}
post {
cleanup {
deleteDir()
}
}
}
}
}
}
}