From 2ac8d34dd792d8ce78d7b1e3b3d13a6bfde77f2b Mon Sep 17 00:00:00 2001 From: riyadgh Date: Fri, 14 Feb 2020 04:32:40 -0500 Subject: [PATCH] make a template --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ec1cadf..d0200a7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,25 +4,25 @@ pipeline { stage('Build') { agent { docker { - image 'python:2-alpine' + image '' } } steps { - sh 'python -m py_compile sources/add2vals.py sources/calc.py' + sh '' } } stage('Test') { agent { docker { - image 'qnib/pytest' + image '' } } steps { - sh 'py.test --verbose --junit-xml test-reports/results.xml sources/test_calc.py' + sh '' } post { always { - junit 'test-reports/results.xml' + junit '' } } }