#!/bin/bash
pkill -f jresume-1.0-SNAPSHOT-jar-with-dependencies.jar
cd target
java -jar jresume-1.0-SNAPSHOT-jar-with-dependencies.jar -i bleh --server-mode

#!/bin/bash
pkill -f jresume-1.0-SNAPSHOT-jar-with-dependencies.jar
cd target
nohup java -jar jresume-1.0-SNAPSHOT-jar-with-dependencies.jar -i bleh --server-mode &

Set the jenkins deploy script to detach once java -jar is run on jresume
Set the jenkins deploy script to detach once java -jar is run on jresume
