adding logs from the application

This commit is contained in:
Szakalakamaka
2020-09-28 14:50:00 +02:00
parent 93cab46bbd
commit 4f4c545e0d
3 changed files with 21 additions and 11 deletions

20
.idea/workspace.xml generated
View File

@@ -198,13 +198,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1598862102028</updated> <updated>1598862102028</updated>
</task> </task>
<task id="LOCAL-00007" summary="fix for passing default clientUUID in the html form">
<created>1599062582833</created>
<option name="number" value="00007" />
<option name="presentableId" value="LOCAL-00007" />
<option name="project" value="LOCAL" />
<updated>1599062582833</updated>
</task>
<task id="LOCAL-00008" summary="read events based on dates and clientUUID"> <task id="LOCAL-00008" summary="read events based on dates and clientUUID">
<created>1599121146544</created> <created>1599121146544</created>
<option name="number" value="00008" /> <option name="number" value="00008" />
@@ -541,7 +534,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1601295096309</updated> <updated>1601295096309</updated>
</task> </task>
<option name="localTasksCounter" value="56" /> <task id="LOCAL-00056" summary="adding logs from the application">
<created>1601295490642</created>
<option name="number" value="00056" />
<option name="presentableId" value="LOCAL-00056" />
<option name="project" value="LOCAL" />
<updated>1601295490642</updated>
</task>
<option name="localTasksCounter" value="57" />
<servers /> <servers />
</component> </component>
<component name="UnknownFeatures"> <component name="UnknownFeatures">
@@ -684,13 +684,13 @@
</state> </state>
<state x="277" y="57" key="SettingsEditor/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1600935670743" /> <state x="277" y="57" key="SettingsEditor/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1600935670743" />
<state x="277" y="57" key="SettingsEditor/0.0.1536.824@0.0.1536.824" timestamp="1600868466042" /> <state x="277" y="57" key="SettingsEditor/0.0.1536.824@0.0.1536.824" timestamp="1600868466042" />
<state x="361" y="145" key="Vcs.Push.Dialog.v2" timestamp="1601295097744"> <state x="361" y="145" key="Vcs.Push.Dialog.v2" timestamp="1601295491906">
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
<state x="451" y="183" key="Vcs.Push.Dialog.v2/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275760386" /> <state x="451" y="183" key="Vcs.Push.Dialog.v2/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275760386" />
<state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1600350277680" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1600350277680" />
<state x="2371" y="183" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1600351824385" /> <state x="2371" y="183" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1600351824385" />
<state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1601295097744" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1601295491906" />
<state x="478" y="145" width="579" height="592" key="find.popup" timestamp="1599656923861"> <state x="478" y="145" width="579" height="592" key="find.popup" timestamp="1599656923861">
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>

9
Jenkinsfile vendored
View File

@@ -1,5 +1,8 @@
pipeline { pipeline {
agent any agent any
tools {
maven "M3"
}
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
@@ -11,5 +14,11 @@ pipeline {
sh "docker-compose up -d" sh "docker-compose up -d"
} }
} }
stage('Logs') {
steps {
sleep time: 1, unit: 'MINUTES'
sh 'docker logs klaus'
}
}
} }
} }

View File

@@ -4,10 +4,11 @@ services:
image: 'redis' image: 'redis'
restart: "no" restart: "no"
klaus: klaus:
restart: "no"
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: klaus
restart: "no"
ports: ports:
- "8097:8097" - "8097:8097"
depends_on: depends_on: