DEPLOY (for manifest)

The DEPLOY element specifies a program or script to execute when deploying applications on the GAS.

This is an optional element of the TRIGGERS element.

Syntax

[<DEPLOY>deployProgramScript</DEPLOY>]
  1. The deployProgramScript deployment program may be a Genero 4GL (.42r or .42m) file or a script file.

Child elements

There are no child elements.

Usage

You use this element to specify programs (.42r or .42m) or scripts to execute when deploying applications in a Genero Archive (gar) file on the GAS.

Examples are shown of how to specify the trigger in the MANIFEST file. Triggers can also be set using the fglgar command trigger options at the command line. For an example, go to fglgar with trigger options.

Example DEPLOY defined with Genero 4GL program

<TRIGGERS component = 'cpn.gar.execution.local'>
  <DEPLOY>fglrun mydeploy.42r</DEPLOY>
  <UNDEPLOY></UNDEPLOY>
</TRIGGERS>

Example DEPLOY defined with script

<TRIGGERS component = 'cpn.gar.execution.local'>
  <DEPLOY>mydeploy.sh</DEPLOY>
  <UNDEPLOY></UNDEPLOY>
</TRIGGERS>
When you deploy an application that has the DEPLOY trigger set, the gasadmin deploy command will deploy the gar on the GAS and run the deploy trigger. If the program/script fails, the entire deployment will fail.

Parent elements

This element is a child of the TRIGGERS (for manifest) element.