|
@@ -1,51 +1,59 @@
|
|
pipeline {
|
|
pipeline {
|
|
- agent any
|
|
|
|
|
|
+ agent {
|
|
|
|
+ dockerfile { filename 'Jenkinsfiles/ubuntu-16.04.dockerfile' }
|
|
|
|
+ }
|
|
stages {
|
|
stages {
|
|
stage('Build') {
|
|
stage('Build') {
|
|
steps {
|
|
steps {
|
|
sh '''
|
|
sh '''
|
|
- make clean && make
|
|
|
|
|
|
+ make
|
|
'''
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stage('Test') {
|
|
stage('Test') {
|
|
steps {
|
|
steps {
|
|
sh '''
|
|
sh '''
|
|
- cd LibOS/shim/test/apps/gcc
|
|
|
|
|
|
+ cd Pal/regression
|
|
make regression
|
|
make regression
|
|
- '''
|
|
|
|
|
|
+ '''
|
|
sh '''
|
|
sh '''
|
|
- cd LibOS/shim/test/apps/lmbench
|
|
|
|
|
|
+ cd LibOS/shim/test/regression
|
|
make regression
|
|
make regression
|
|
'''
|
|
'''
|
|
|
|
+ sh '''
|
|
|
|
+ cd LibOS/shim/test/apps/ltp
|
|
|
|
+ make
|
|
|
|
+ ./syscalls.sh
|
|
|
|
+ '''
|
|
sh '''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/python
|
|
cd LibOS/shim/test/apps/python
|
|
make regression
|
|
make regression
|
|
'''
|
|
'''
|
|
|
|
+ timeout(time: 5, unit: 'MINUTES') {
|
|
|
|
+ sh '''
|
|
|
|
+ cd LibOS/shim/test/apps/gcc
|
|
|
|
+ make regression
|
|
|
|
+ '''
|
|
|
|
+ }
|
|
|
|
+ timeout(time: 15, unit: 'MINUTES') {
|
|
|
|
+ sh '''
|
|
|
|
+ cd LibOS/shim/test/apps/lmbench
|
|
|
|
+ make regression
|
|
|
|
+ '''
|
|
|
|
+ }
|
|
sh '''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/lighttpd
|
|
cd LibOS/shim/test/apps/lighttpd
|
|
make
|
|
make
|
|
make start-graphene-server &
|
|
make start-graphene-server &
|
|
- ./benchmark-http.sh 127.0.0.1:8000
|
|
|
|
|
|
+ sleep 1
|
|
|
|
+ ./benchmark-http.sh `hostname -I|tr -d '[:space:]'`:8000
|
|
'''
|
|
'''
|
|
sh '''
|
|
sh '''
|
|
cd LibOS/shim/test/apps/apache
|
|
cd LibOS/shim/test/apps/apache
|
|
make
|
|
make
|
|
make start-graphene-server &
|
|
make start-graphene-server &
|
|
- ./benchmark-http.sh 127.0.0.1:8000
|
|
|
|
- '''
|
|
|
|
- sh '''
|
|
|
|
- cd Pal/regression
|
|
|
|
- make regression
|
|
|
|
- '''
|
|
|
|
- sh '''
|
|
|
|
- cd LibOS/shim/test/regression
|
|
|
|
- make regression
|
|
|
|
- '''
|
|
|
|
- sh '''
|
|
|
|
- cd LibOS/shim/test/apps/ltp
|
|
|
|
- make
|
|
|
|
- ./syscalls.sh
|
|
|
|
|
|
+ sleep 1
|
|
|
|
+ ./benchmark-http.sh `hostname -I|tr -d '[:space:]'`:8001
|
|
'''
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
}
|