Add more parameters for Logfilemonitor

This commit is contained in:
Xiao Jia shan 2019-03-08 12:37:33 +08:00
parent 07c1ffd574
commit f009442f8c

12
Jenkinsfile vendored
View file

@ -15,6 +15,12 @@ pipeline {
} }
} }
stage('Build-logfilemonitor') { stage('Build-logfilemonitor') {
agent {
docker {
image 'python:2-alpine'
}
}
steps { steps {
sh 'python -m py_compile sources/LogfileMonitor.py' sh 'python -m py_compile sources/LogfileMonitor.py'
} }
@ -60,6 +66,12 @@ pipeline {
} }
} }
stage('Delivery-logfilemonitor') { stage('Delivery-logfilemonitor') {
agent {
docker {
image 'richardx/pyinstaller-linux:python2'
}
}
steps { steps {
sh 'pyinstaller --onefile sources/LogfileMonitor.py' sh 'pyinstaller --onefile sources/LogfileMonitor.py'
} }