Deployment of JAR and WAR archives

For JVM-based web applications, instead of deploying the code by building the
code a pre-built autonomous JAR archive or WAR build can be directly deployed
on the platform.

It can be especially useful when using a Continuous Integration platform like
TravisCI or Jenkins. These platforms are usually building the project to
execute the application test suites against it. Instead of building a second
time the application code, the JAR and WAR archives generated during the build
can be directly deployed on Scalingo.

Install Scalingo CLI

JAR and WAR archives can be deployed using the platform command line interface, first
step is to install it: CLI Documentation

Usage of the deploy command

The following example applies for WAR archives but also for autonomous JAR
archives:

Webapp Runner / Tomcat version selection

By default, Tomcat 8.5 is installed with the last version of the webapp-runner,
if you want to use another version, you can defined the environment variable
WEBAPP_RUNNER_VERSION. You can find all the available versions
here.

The 8.0.x versions are installing Tomcat 8, and the 8.5.x releases are
installing Tomcat 8.5: