modified jenkins file

This commit is contained in:
udayakr 2019-02-10 15:54:45 +05:30 committed by GitHub
parent 1be40ad69d
commit 4097ed63a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Jenkinsfile vendored
View file

@ -2,11 +2,11 @@ pipeline {
agent { dockerfile true } agent { dockerfile true }
stages { stages {
stage('Build') { stage('Build') {
agent { // agent {
docker { // docker {
image 'python:2-alpine' // image 'python:2-alpine'
} //}
} //}
steps { steps {
sh 'python -m py_compile sources/add2vals.py sources/calc.py' sh 'python -m py_compile sources/add2vals.py sources/calc.py'
} }