The following snippet will stop the current wingman server, pull down changes, rebuild, and deploy the new build
Code Block |
---|
~/docker-build/assembly/build/assembly-0.0.1/bin/stop; \ sleep 5; \ cd ~/docker-build/ && \ git pull origin osgimaster && \ cd ~/docker-build/assembly/ \ && \ gradle clean build && \ cd ~/docker-build/assembly/build/ && \ unzip ~/docker-build/assembly/build/distributions/assembly-0.0.1.zip && \ cd ~/docker-build/assembly/build/assembly-0.0.1/ && \ bin/start |