Initial JenkinsFile with python build process
This commit is contained in:
parent
128e9ba59f
commit
ee7170ea04
1 changed files with 15 additions and 0 deletions
15
JenkinsFile
Normal file
15
JenkinsFile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
pipeline {
|
||||||
|
agent none
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'python:2-alpine'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue