adding logs from the application

This commit is contained in:
Szakalakamaka
2020-09-28 14:50:00 +02:00
parent 93cab46bbd
commit 4f4c545e0d
3 changed files with 21 additions and 11 deletions

9
Jenkinsfile vendored
View File

@@ -1,5 +1,8 @@
pipeline {
agent any
tools {
maven "M3"
}
stages {
stage('Build') {
steps {
@@ -11,5 +14,11 @@ pipeline {
sh "docker-compose up -d"
}
}
stage('Logs') {
steps {
sleep time: 1, unit: 'MINUTES'
sh 'docker logs klaus'
}
}
}
}