From 08aaba11f25d1e3bbb6ce283c63ef8570b6d4862 Mon Sep 17 00:00:00 2001 From: "paola.rozo" Date: Mon, 24 Aug 2020 20:55:02 -0500 Subject: [PATCH] Add initial Jenkinsfile --- .gitignore | 1 + Jenkinsfile | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 Jenkinsfile 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