diff --git a/src/wanijo_pipeline/wedder_pipeline.clj b/src/wanijo_pipeline/wedder_pipeline.clj index b66078d..037b48b 100644 --- a/src/wanijo_pipeline/wedder_pipeline.clj +++ b/src/wanijo_pipeline/wedder_pipeline.clj @@ -11,7 +11,8 @@ (lcd-shell/bash ctx "/opt/wedder" "lein uberjar")) (defn kill-previous [args ctx] - (lcd-shell/bash ctx (:cwd args) "pkill -f wedder")) + (lcd-shell/bash ctx (:cwd args) "pkill -f wedder") + {:status :success}) (defn deploy [args ctx] (lcd-shell/bash ctx "/opt/wedder" "nohup java -jar target/wedder-0.1.0-SNAPSHOT-standalone.jar"))