adding logs from the application
This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user