(Quick Reference)

cf-update

Purpose

Updates an application.

Description

Rebuilds a war file for your application (or uses an existing one) and redeploys it. The application must have already been deployed.

Most scripts are not environment-specific but this one builds a war file, so be sure to specify the environment.

Usage:

grails [environment] cf-update [--appname] [--warfile]

Required arguments: none .

Optional arguments:

  • appname - The name of the application
  • warfile - The path to an existing war file to deploy
  • canary - If specified doesn't undeploy the current application unless the new one deploys successfully.