Add more parameters for Logfilemonitor
This commit is contained in:
parent
07c1ffd574
commit
f009442f8c
1 changed files with 12 additions and 0 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue