From ee7170ea04958ed275ff4bc1fb83cb33bbe4f1bf Mon Sep 17 00:00:00 2001 From: Jean Visser Date: Mon, 21 May 2018 15:45:26 +0200 Subject: [PATCH] Initial JenkinsFile with python build process --- JenkinsFile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 JenkinsFile diff --git a/JenkinsFile b/JenkinsFile new file mode 100644 index 0000000..ad34623 --- /dev/null +++ b/JenkinsFile @@ -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' + } + } + } +}