From 14aba6cb1733c8cd84c1c92df95e937671e0bf50 Mon Sep 17 00:00:00 2001 From: DaWilliam Date: Sun, 4 Mar 2018 00:04:21 -0500 Subject: [PATCH] Back to original stuff --- Jenkinsfile | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b982250..665eba6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,20 +1,14 @@ pipeline { - agent any - + agent none stages { - stage('Build') { - steps { - echo 'Building..' + stage('Build') { + agent { + docker { + image 'python:2-alpine' + } } - } - stage('Test') { steps { - echo 'Testing..' - } - } - stage('Deploy') { - steps { - echo 'Deploying....' + sh 'python -m py_compile sources/add2vals.py sources/calc.py' } } }