Add Logfilemonitor
This commit is contained in:
parent
6743c07bfd
commit
07c1ffd574
1 changed files with 38 additions and 20 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -2,6 +2,8 @@ pipeline {
|
||||||
agent none
|
agent none
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
parallel {
|
||||||
|
stage('Build-add2vals') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'python:2-alpine'
|
image 'python:2-alpine'
|
||||||
|
@ -12,6 +14,13 @@ pipeline {
|
||||||
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Build-logfilemonitor') {
|
||||||
|
steps {
|
||||||
|
sh 'python -m py_compile sources/LogfileMonitor.py'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
|
@ -31,6 +40,8 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deliver') {
|
stage('Deliver') {
|
||||||
|
parallel {
|
||||||
|
stage('Deliver-add2vals') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'richardx/pyinstaller-linux:python2'
|
image 'richardx/pyinstaller-linux:python2'
|
||||||
|
@ -48,5 +59,12 @@ pipeline {
|
||||||
sh 'pyinstaller --onefile sources/add2vals.py'
|
sh 'pyinstaller --onefile sources/add2vals.py'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Delivery-logfilemonitor') {
|
||||||
|
steps {
|
||||||
|
sh 'pyinstaller --onefile sources/LogfileMonitor.py'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue