EXEC - Deploy components

Deploy or promote your components

bc DEPLOY EXEC/c <ComponentID> /dstEnv=01-DEV

Deploy or promote your components to an environment.

DEPLOY EXEC Arguments

Deploy or Promote

A Deployment takes place when a component is packaged and deployed

  • from Repository to an environment (usually to DEV).

We call it a Promotion when

  • a packaged component is 'deployed' from one Environment to another.

Typically, you deploy from Repository to DEV environment and you promote your packaged components from DEV to TEST.

To perform a deployment, you need to specify one or more component(s) which will be packaged first, before it is deployed to the destination environment.

Optionally, you can specify a /DeploymentNote and or a /PackagedComponentNote.

You cannot yet specify a version because this is set automatically to {Date}-{User}.{seqNo:2}.

Deployment

Each component that is resolved using the command-line arguments a new packaged component is created. All packaged components in a single deployment get the same version number.

Promotion

A promotion copies deployed (packaged) component(s) from one environment /SrcEnv to another /DstEnv. To execute a promotion you refer to the component Ids (not the packaged component ids). Boomi Console automatically gets the required packaged component ids from the source environment to copy them to the target.

Using Sets

The real power of this command comes with the /set option. This allows you deploy / promote many components (a Component Package) in a single run! This will save you a lot of time and it makes your deployments reproducible!

  1. Deploy a Component from Repository to an Environment

  2. Promote a component from one Environment to the next

Please not,ice, the DEPLOY EXEC command refers to the Environments you have specified in your project configuration. All deployments or promotions are logged in the Logs directory on a daily basis for later reference.

After each deployment or promotion you may use DEPLOY INFO to document your deployment state for later evidence.

bc deploy info --componentid <YourCompId> 

Last updated