adding logs from the application

This commit is contained in:
Szakalakamaka
2020-09-28 14:18:10 +02:00
parent 0442310dee
commit 93cab46bbd
2 changed files with 18 additions and 24 deletions

8
Jenkinsfile vendored
View File

@@ -1,7 +1,7 @@
pipeline {
agent any
stages {
stage('docker-compose') {
stage('Build') {
steps {
sh "docker-compose build"
}
@@ -11,11 +11,5 @@ pipeline {
sh "docker-compose up -d"
}
}
stage('Deploy') {
steps {
sleep time: 1, unit: 'MINUTES'
sh 'docker logs klaus'
}
}
}
}