jobdeploy is a full java implement automation cli tool deploy over SSH Protocol,it config by JSON and less Dependencies
replace JD_HOME with your deploy path
JD_HOME=$HOME/opt/jobdeploy && mkdir -p $JD_HOME/bin && cd $JD_HOME/bin && wget -O deploy https://raw.githubusercontent.com/all3n/jobdeploy/master/script/deploy && chmod +x ./deploy && ./deploy --update
git clone https://github.com/all3n/jobdeploy.git
cd jobdeploy
./install $HOME/opt/jobdeploy
deploy --update