Plz Jenkinsfile
This commit is contained in:
parent
efe26e6e28
commit
16717cfcc6
1 changed files with 4 additions and 4 deletions
8
jenkins/Jenkinsfile
vendored
8
jenkins/Jenkinsfile
vendored
|
@ -1,14 +1,14 @@
|
|||
pipeline {
|
||||
agent none //1
|
||||
agent none
|
||||
stages {
|
||||
stage('Build') { //2
|
||||
stage('Build') {
|
||||
agent {
|
||||
docker {
|
||||
image 'python:2-alpine' //3
|
||||
image 'python:2-alpine'
|
||||
}
|
||||
}
|
||||
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') {
|
||||
|
|
Loading…
Reference in a new issue