Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Klaudia Kandulska 2020-12-03 14:03:08 +01:00
parent 8d63ba5959
commit 121ba75445

17
Jenkinsfile vendored
View File

@ -1,11 +1,5 @@
node {
def app
stage('Clone repository') {
checkout scm
}
agent { docker { image 'python:3.9.0' } }
pipeline {
agent { docker { image 'python:3.5.1' } }
stages {
stage('build') {
steps {
@ -14,10 +8,3 @@ node {
}
}
}
stage('Test image') {
app.inside {
sh 'echo "Passed"'
}
}
}