Plz Jenkinsfile

This commit is contained in:
Dragonnight56 2020-12-10 19:54:50 -08:00
parent efe26e6e28
commit 16717cfcc6

8
jenkins/Jenkinsfile vendored
View file

@ -1,14 +1,14 @@
pipeline { pipeline {
agent none //1 agent none
stages { stages {
stage('Build') { //2 stage('Build') {
agent { agent {
docker { docker {
image 'python:2-alpine' //3 image 'python:2-alpine'
} }
} }
steps { steps {
sh 'python -m py_compile sources/add2vals.py sources/calc.py' //4 sh 'python -m py_compile sources/add2vals.py sources/calc.py'
} }
} }
stage('Test') { stage('Test') {