Package service

Create a package from a directory of .json and .xml definition files. It returns a .zip archive. This package can be deployed, run, or built by these respective services.

Note: This functionality is supported only through the CLI, and cannot be called through a REST API command.

CLI Syntax

ctm package <zipOutputFilename> <deploymentFilesDirectory>

Parameter

Description

<zipOutputFilename>

The filename of package

<deploymentFilesDirectory>

The directory where the source files reside

Valid file formats are:

  • .json format
  • Control-M import/export .xml format

Example

The C:\deploy directory contains two JSON files, Folder1.json and Folder2.json. The following command zips this directory into a zip package named folderDeploy.zip.

ctm package folderDeploy.zip C:\deploy

After the zip package is created, you can deploy it using the Deploy service.

Was this page helpful? Yes No Submitting... Thank you

Comments