diff --git a/.gitignore b/.gitignore index 0bb8ddd..38d400f 100644 --- a/.gitignore +++ b/.gitignore @@ -98,3 +98,4 @@ ENV/ # mypy .mypy_cache/ +.idea/ diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..aa92a38 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +pipeline { + agent none + stages { + stage('Build') { + agent { + docker { + image 'python:2-alpine' + } + } + steps { + sh 'python -m py_compile sources/add2vals.py sources/calc.py' + stash(name: 'compiled-results', includes: 'sources/*.py*') + } + } + } +} \ No newline at end of file