jenkins - testing remote deploy

This commit is contained in:
Szakalakamaka
2020-09-29 11:23:11 +02:00
parent a506d26f70
commit 834f300bc4
2 changed files with 13 additions and 14 deletions

25
.idea/workspace.xml generated
View File

@@ -23,7 +23,6 @@
</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$/Jenkinsfile" beforeDir="false" afterPath="$PROJECT_DIR$/Jenkinsfile" afterDir="false" /> <change beforePath="$PROJECT_DIR$/Jenkinsfile" beforeDir="false" afterPath="$PROJECT_DIR$/Jenkinsfile" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
@@ -198,13 +197,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1598862102028</updated> <updated>1598862102028</updated>
</task> </task>
<task id="LOCAL-00015" summary="- changing design of index.html&#10;- dynamic localhost value&#10;- adding possibility to access the page with clientUUID value in path variable to be able to continue your work faster">
<created>1599468175269</created>
<option name="number" value="00015" />
<option name="presentableId" value="LOCAL-00015" />
<option name="project" value="LOCAL" />
<updated>1599468175269</updated>
</task>
<task id="LOCAL-00016" summary="- changing log appender's DB"> <task id="LOCAL-00016" summary="- changing log appender's DB">
<created>1599469144625</created> <created>1599469144625</created>
<option name="number" value="00016" /> <option name="number" value="00016" />
@@ -541,7 +533,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1601301048201</updated> <updated>1601301048201</updated>
</task> </task>
<option name="localTasksCounter" value="64" /> <task id="LOCAL-00064" summary="jenkins - testing remote deploy">
<created>1601370283197</created>
<option name="number" value="00064" />
<option name="presentableId" value="LOCAL-00064" />
<option name="project" value="LOCAL" />
<updated>1601370283199</updated>
</task>
<option name="localTasksCounter" value="65" />
<servers /> <servers />
</component> </component>
<component name="UnknownFeatures"> <component name="UnknownFeatures">
@@ -561,7 +560,6 @@
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" /> <option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
<MESSAGE value="pageable list for all messages" />
<MESSAGE value="implementing buttons for all messages table" /> <MESSAGE value="implementing buttons for all messages table" />
<MESSAGE value="all messages table visible for all controllers" /> <MESSAGE value="all messages table visible for all controllers" />
<MESSAGE value="allmessages visible after addheader, removeheader operations" /> <MESSAGE value="allmessages visible after addheader, removeheader operations" />
@@ -586,7 +584,8 @@
<MESSAGE value="testing jenkins docker" /> <MESSAGE value="testing jenkins docker" />
<MESSAGE value="adding logs from the application" /> <MESSAGE value="adding logs from the application" />
<MESSAGE value="clean before the build" /> <MESSAGE value="clean before the build" />
<option name="LAST_COMMIT_MESSAGE" value="clean before the build" /> <MESSAGE value="jenkins - testing remote deploy" />
<option name="LAST_COMMIT_MESSAGE" value="jenkins - testing remote deploy" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="904" y="236" key="#Notifications" timestamp="1600868491636"> <state x="904" y="236" key="#Notifications" timestamp="1600868491636">
@@ -684,13 +683,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="1601301049664"> <state x="361" y="145" key="Vcs.Push.Dialog.v2" timestamp="1601370284711">
<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="1601301049664" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1601370284711" />
<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>

2
Jenkinsfile vendored
View File

@@ -12,7 +12,7 @@ pipeline {
stage('Deploy') { stage('Deploy') {
steps { steps {
sh "docker-compose up -d" sh "docker-compose up -d"
sh "DOCKER_HOST=“ssh://s5000xvn.zipper.release11.com” docker-compose up -d" sh "scp -r klaus s5000xvn.zipper.release11.com:/home/zukowicr"
} }
} }
stage('Logs') { stage('Logs') {