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

Overview

Transfer a deployable artifact onto a target server. Optionally update application configuration.

Process

Start the build server and bastion jumpbox. Login to the jumpbox. 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