testing jenkins docker

This commit is contained in:
Szakalakamaka
2020-09-30 12:51:45 +02:00
parent 215c9ca22a
commit 3c9de81511
2 changed files with 16 additions and 17 deletions

26
.idea/workspace.xml generated
View File

@@ -210,13 +210,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1598862102028</updated> <updated>1598862102028</updated>
</task> </task>
<task id="LOCAL-00032" summary="adding &quot;new message&quot; button">
<created>1599823953914</created>
<option name="number" value="00032" />
<option name="presentableId" value="LOCAL-00032" />
<option name="project" value="LOCAL" />
<updated>1599823953914</updated>
</task>
<task id="LOCAL-00033" summary="etrack"> <task id="LOCAL-00033" summary="etrack">
<created>1599843413391</created> <created>1599843413391</created>
<option name="number" value="00033" /> <option name="number" value="00033" />
@@ -553,7 +546,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1601458984817</updated> <updated>1601458984817</updated>
</task> </task>
<option name="localTasksCounter" value="81" /> <task id="LOCAL-00081" summary="testing jenkins docker">
<created>1601461844865</created>
<option name="number" value="00081" />
<option name="presentableId" value="LOCAL-00081" />
<option name="project" value="LOCAL" />
<updated>1601461844865</updated>
</task>
<option name="localTasksCounter" value="82" />
<servers /> <servers />
</component> </component>
<component name="UnknownFeatures"> <component name="UnknownFeatures">
@@ -704,13 +704,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="1601458986093"> <state x="361" y="145" key="Vcs.Push.Dialog.v2" timestamp="1601461846064">
<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="1601458986093" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1601461846064" />
<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>
@@ -724,12 +724,12 @@
<screen x="0" y="0" width="1536" height="824" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
<state x="499" y="170" key="refactoring.ChangeSignatureDialog/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1599668344218" /> <state x="499" y="170" key="refactoring.ChangeSignatureDialog/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1599668344218" />
<state x="531" y="236" key="run.anything.popup" timestamp="1600270936259"> <state x="425" y="187" key="run.anything.popup" timestamp="1601461825087">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1536" height="824" />
</state> </state>
<state x="531" y="236" key="run.anything.popup/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600270936259" /> <state x="531" y="236" key="run.anything.popup/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600270936259" />
<state x="425" y="187" key="run.anything.popup/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1599846632766" /> <state x="425" y="187" key="run.anything.popup/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1599846632766" />
<state x="425" y="187" key="run.anything.popup/0.0.1536.824@0.0.1536.824" timestamp="1599552366851" /> <state x="425" y="187" key="run.anything.popup/0.0.1536.824@0.0.1536.824" timestamp="1601461825087" />
<state x="2459" y="183" width="840" height="856" key="search.everywhere.popup" timestamp="1599855564520"> <state x="2459" y="183" width="840" height="856" key="search.everywhere.popup" timestamp="1599855564520">
<screen x="1920" y="0" width="1920" height="1040" /> <screen x="1920" y="0" width="1920" height="1040" />
</state> </state>

7
Jenkinsfile vendored
View File

@@ -11,15 +11,14 @@ pipeline {
} }
stage('Deploy') { stage('Deploy') {
steps { steps {
sh "ssh jenkins@s5000xvn echo 'Dupa dupa dupa'" sh "docker-compose -H \"ssh://jenkins@s5000xvn:22\" up -d"
sh "docker --context DEV ps"
sh "docker-compose --context DEV up -d"
} }
} }
stage('Logs') { stage('Logs') {
steps { steps {
sleep time: 1, unit: 'MINUTES' sleep time: 1, unit: 'MINUTES'
sh 'ssh docker logs klaus' sh 'docker --context DEV logs klaus'
} }
} }
} }