testing jenkins docker

This commit is contained in:
Szakalakamaka
2020-09-30 12:30:44 +02:00
parent 7c8fe06ea0
commit 215c9ca22a
2 changed files with 12 additions and 12 deletions

20
.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-00031" summary="solved problem with binding lists between thymeleaf and controller&#10;added id filter for event searcher">
<created>1599739605273</created>
<option name="number" value="00031" />
<option name="presentableId" value="LOCAL-00031" />
<option name="project" value="LOCAL" />
<updated>1599739605273</updated>
</task>
<task id="LOCAL-00032" summary="adding &quot;new message&quot; button"> <task id="LOCAL-00032" summary="adding &quot;new message&quot; button">
<created>1599823953914</created> <created>1599823953914</created>
<option name="number" value="00032" /> <option name="number" value="00032" />
@@ -553,7 +546,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1601455127386</updated> <updated>1601455127386</updated>
</task> </task>
<option name="localTasksCounter" value="80" /> <task id="LOCAL-00080" summary="testing jenkins docker">
<created>1601458984817</created>
<option name="number" value="00080" />
<option name="presentableId" value="LOCAL-00080" />
<option name="project" value="LOCAL" />
<updated>1601458984817</updated>
</task>
<option name="localTasksCounter" value="81" />
<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="1601455128845"> <state x="361" y="145" key="Vcs.Push.Dialog.v2" timestamp="1601458986093">
<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="1601455128845" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1601458986093" />
<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>

4
Jenkinsfile vendored
View File

@@ -11,9 +11,9 @@ pipeline {
} }
stage('Deploy') { stage('Deploy') {
steps { steps {
sh "docker-compose up -d"
sh "ssh jenkins@s5000xvn echo 'Dupa dupa dupa'" sh "ssh jenkins@s5000xvn echo 'Dupa dupa dupa'"
sh "docker-compose context DEV up -d" sh "docker --context DEV ps"
sh "docker-compose --context DEV up -d"
} }
} }
stage('Logs') { stage('Logs') {