diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index d7dc7a4..77fc27d 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -198,13 +198,6 @@
1598862102028
-
- 1599062582833
-
-
-
- 1599062582833
-
1599121146544
@@ -541,7 +534,14 @@
1601295096309
-
+
+ 1601295490642
+
+
+
+ 1601295490642
+
+
@@ -684,13 +684,13 @@
-
+
-
+
diff --git a/Jenkinsfile b/Jenkinsfile
index b471538..95d21b8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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'
+ }
+ }
}
}
diff --git a/docker-compose.yml b/docker-compose.yml
index 40658b9..f2d2725 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,10 +4,11 @@ services:
image: 'redis'
restart: "no"
klaus:
- restart: "no"
build:
context: .
dockerfile: Dockerfile
+ container_name: klaus
+ restart: "no"
ports:
- "8097:8097"
depends_on: