SocialHelper/Jenkinsfile

23 lines
350 B
Plaintext
Raw Normal View History

2020-12-03 13:55:48 +01:00
node {
def app
stage('Clone repository') {
checkout scm
}
2020-12-03 13:58:56 +01:00
agent { docker { image 'python:3.9.0' } }
stages {
stage('build') {
steps {
sh 'python --version'
}
}
2020-12-03 13:55:48 +01:00
}
2020-12-03 13:58:56 +01:00
}
2020-12-03 13:55:48 +01:00
stage('Test image') {
app.inside {
2020-12-03 13:58:56 +01:00
sh 'echo "Passed"'
2020-12-03 13:53:44 +01:00
}
}
}