Back to original stuff
This commit is contained in:
parent
1988ed4362
commit
14aba6cb17
1 changed files with 7 additions and 13 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -1,20 +1,14 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent none
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
agent {
|
||||||
echo 'Building..'
|
docker {
|
||||||
|
image 'python:2-alpine'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stage('Test') {
|
|
||||||
steps {
|
steps {
|
||||||
echo 'Testing..'
|
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Deploy') {
|
|
||||||
steps {
|
|
||||||
echo 'Deploying....'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue