diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-04-13 21:06:17 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-04-13 21:06:17 +0200 |
commit | 77138fa10b4241cdd0e4c0b0bc52a2392cf78570 (patch) | |
tree | 4e0a96da851cd8d3a3e1450a9c48a5daf483ef8f /build.xml | |
parent | 91505b22a11c8bcfa9f623f0700030b5caf9bdb5 (diff) |
build.xml: Add a “deploy” target.
Change-Id: I54da8f4a035b7dd758cc1dc4600a9d3a06d01756
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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"/> |