adding logs from the application

This commit is contained in:
Szakalakamaka
2020-09-28 14:55:33 +02:00
parent 4f4c545e0d
commit 9481af141c
2 changed files with 13 additions and 16 deletions

8
Jenkinsfile vendored
View File

@@ -12,12 +12,8 @@ pipeline {
stage('Deploy') {
steps {
sh "docker-compose up -d"
}
}
stage('Logs') {
steps {
sleep time: 1, unit: 'MINUTES'
sh 'docker logs klaus'
sleep time: 1, unit: 'MINUTES'
sh 'docker logs klaus'
}
}
}