WC/Jenkinsfile

17 lines
255 B
Plaintext
Raw Permalink Normal View History

2019-11-23 17:38:53 +01:00
node {
def app
stage('Clone repository') {
checkout scm
}
stage('Build image') {
2019-11-23 17:50:02 +01:00
app = docker.build("hellonode")
2019-11-23 17:38:53 +01:00
}
stage('Test image') {
app.inside {
sh 'echo "Tests passed"'
}
}
}