Skip to main content

13 docs tagged with "script"

View all tags

Discover Middleware Using the Deploy CLI

Use the discovery feature to automatically create an accurate model of your infrastructure in Deploy. During discovery, Deploy scans your middleware environment and creates configuration items (CIs) in the repository. Discovery is part of the Deploy plugin suite, and the exact discovery functionality available depends on the middleware platforms that are present in your environment.

Execute Tasks From the Deploy CLI

Deploy can perform multiple deployments at the same time. Each of these deployments is called a task. Users instruct Deploy to start a task, stop a task, or cancel a task. After a task is completed or canceled, it is moved to the task archive. This is where Deploy stores its task history. You can query the task archive for tasks, examine the tasks steps and logs, or export the task archive to an XML file.

Export Items From or Import Items Into the Repository

The repository object in the Deploy command-line interface (CLI) allows you to export the Deploy repository tree to a ZIP file that can be imported into the same Deploy server or into another Deploy server. The ZIP file contains all configuration item (CI) properties, including artifact files.

Get Started With the Deploy CLI

You can use the Deploy command-line interface (CLI) to control and manage multiple features, such as discovering middleware topology, setting up environments, importing packages, and performing deployments. The CLI connects to the Deploy server using the standard HTTP/HTTPS protocol, so it can be used remotely without firewall issues.

Logging in Deploy

By default, the Deploy server writes informational, warning, and error log messages to standard output and to XLDEPLOYSERVER_HOME/log/deployit.log when it is running. In addition, Deploy:

Write Script Rules

A script rule adds steps and checkpoints to a plan by running a Jython script that calculates which steps and checkpoints to add.

Writing Jython Scripts for Deploy

You can use Jython scripting to extend or customize Deploy actions, events, or components. This topic describes best practices for writing, organizing and packaging your Jython scripts.