summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index f2ffccc..e725e69 100644
--- a/build.xml
+++ b/build.xml
@@ -62,6 +62,24 @@
</exec>
</target>
+ <target name="deploy">
+ <exec executable="./mvnw">
+ <arg value="docker:build"/>
+ <arg value="docker:push"/>
+ </exec>
+ <exec executable="kubectl">
+ <arg value="delete"/>
+ <arg value="pods"/>
+ <arg value="-lapp=mulkcms2"/>
+ </exec>
+ <exec executable="kubectl">
+ <arg value="get"/>
+ <arg value="pods"/>
+ <arg value="-lapp=mulkcms2"/>
+ <arg value="-w"/>
+ </exec>
+ </target>
+
<target name="clean">
<exec executable="./mvnw">
<arg value="clean"/>