ium_444018/Docker/Jenkinsfile
2022-03-30 09:12:46 +02:00

19 lines
420 B
Groovy

node {
def app
stage('Clone repository') {
checkout scm
}
stage('Build image') {
app = docker.build("sparafinski/ium")
}
stage('Test image') {
app.inside {
sh 'echo "Tests passed"'
}
}
}