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 { pipeline {
def app agent { docker { image 'python:3.5.1' } }
stage('Clone repository') {
checkout scm
}
agent { docker { image 'python:3.9.0' } }
stages { stages {
stage('build') { stage('build') {
steps { steps {
@ -13,11 +7,4 @@ node {
} }
} }
} }
}
stage('Test image') {
app.inside {
sh 'echo "Passed"'
}
}
} }