testing Jenkinsfile

This commit is contained in:
Szakalakamaka
2020-09-29 15:17:58 +02:00
parent bcd8bc6505
commit 0a986d5b4a
10 changed files with 14 additions and 21 deletions

27
.idea/workspace.xml generated
View File

@@ -22,12 +22,7 @@
<select /> <select />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="458cde88-df3d-44bc-9d57-a33823e2f1a6" name="Default Changelist" comment=""> <list default="true" id="458cde88-df3d-44bc-9d57-a33823e2f1a6" name="Default Changelist" comment="" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/release11/klaus/config/LocalDiscovery.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/release11/klaus/config/LocalDiscovery.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/classes/application.properties" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/application.properties" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/generated-sources/annotations/com/release11/klaus/mappers/MockedMessageMapperImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/target/generated-sources/annotations/com/release11/klaus/mappers/MockedMessageMapperImpl.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -212,13 +207,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1598862102028</updated> <updated>1598862102028</updated>
</task> </task>
<task id="LOCAL-00022" summary="Refactoring:&#10;- splitting and renaming MockedResponseDto.class into MockedMessageDto and MockedMessage&#10;- cleaning pom&#10;- adding mapStruct&#10;- adding new operation; getAllMockedMessages">
<created>1599555071489</created>
<option name="number" value="00022" />
<option name="presentableId" value="LOCAL-00022" />
<option name="project" value="LOCAL" />
<updated>1599555071489</updated>
</task>
<task id="LOCAL-00023" summary="- default method for MockedMessageMapper interface&#10;- changing requests from MockedMessage to MockedMessageDto"> <task id="LOCAL-00023" summary="- default method for MockedMessageMapper interface&#10;- changing requests from MockedMessage to MockedMessageDto">
<created>1599562380701</created> <created>1599562380701</created>
<option name="number" value="00023" /> <option name="number" value="00023" />
@@ -555,7 +543,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1601383415894</updated> <updated>1601383415894</updated>
</task> </task>
<option name="localTasksCounter" value="71" /> <task id="LOCAL-00071" summary="testing Jenkinsfile">
<created>1601385148596</created>
<option name="number" value="00071" />
<option name="presentableId" value="LOCAL-00071" />
<option name="project" value="LOCAL" />
<updated>1601385148596</updated>
</task>
<option name="localTasksCounter" value="72" />
<servers /> <servers />
</component> </component>
<component name="UnknownFeatures"> <component name="UnknownFeatures">
@@ -706,13 +701,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="1601383417369"> <state x="361" y="145" key="Vcs.Push.Dialog.v2" timestamp="1601385150066">
<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="1601383417369" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1601385150066" />
<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>

1
Jenkinsfile vendored
View File

@@ -20,6 +20,7 @@ pipeline {
stage('Logs') { stage('Logs') {
steps { steps {
sleep time: 1, unit: 'MINUTES' sleep time: 1, unit: 'MINUTES'
sh "export DOCKER_HOST=tcp://jenkins@s5000xvn:22"
sh 'docker logs klaus' sh 'docker logs klaus'
} }
} }

View File

@@ -1,9 +1,6 @@
package com.release11.klaus.config; package com.release11.klaus.config;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; //@Configuration
import org.springframework.context.annotation.Configuration; //@EnableDiscoveryClient
@Configuration
@EnableDiscoveryClient
public class LocalDiscovery { public class LocalDiscovery {
} }