ium_444018/Docker/Jenkinsfile

19 lines
433 B
Plaintext
Raw Normal View History

2022-03-30 09:12:46 +02:00
node {
def app
stage('Clone repository') {
checkout scm
}
stage('Build image') {
2022-03-30 09:14:10 +02:00
app = docker.build("sparafinski/ium", "./Docker/")
2022-03-30 09:12:46 +02:00
}
stage('Test image') {
app.inside {
sh 'echo "Tests passed"'
}
}
2022-03-30 09:05:37 +02:00
}