Skip to content
Doug Hagan edited this page Dec 6, 2016 · 13 revisions

Overview

Put new code and/or config onto a target server.

Process

SSH to the target server.

Deploy Artifact

Download the new artifact (using gitId from Package step):

$ sudo -i
$ cd /srv/jetty/apps
$ ./release.sh [gitId]

If any config needs to be updated:

$ cd /srv/jetty/appConfig
$ vi configuration.xml 

Restart the server with the new artifact (and configuration if updated):

$ /srv/init.d/restart

Verify Deployment

$ tail -f /srv/jetty/logs/[yyyy_mm_dd].stderrout.log

Confirm that the last line is Started @[duration]ms.

Check the build number at [environment].stackableregiments.com/about.

Clone this wiki locally