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