example-web/Jenkinsfile

18 lines
339 B
Plaintext
Raw Normal View History

2022-11-08 12:58:35 +04:00
node {
def app
stage('Clone repository') {
checkout scm
}
stage('Build image') {
app = docker.build("romanov73/is:ng-tracker-container-11")
}
stage('Test image') {
sh ./gradlew bootRun -Dng-tracker.check-run=true
app.inside {
sh 'echo "Tests passed"'
}
}
2022-11-08 13:01:33 +04:00
}