Petals CLI SNAPSHOT

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
undeploy [ -b [<artifact-directory>] ] [ -y ]
{code}
where *[<artifact-directory>* is a local directory name or the URL containing archives of artifacts to undeploy. If not set set, all JBI artifacts are stoppedand undeployed/uninstalled.

A confirmation is expected, except if the '_yes_' flag is set on the command line or as command argument, otherwise an error will occur.
If an error occurs during the undeployment of an artifact, the bulk undeployment is interrupted.

h3. Undeploying and Stopping all artifacts at once

Petals CLI is able to stop and uninstall/undeploy all JBI artifacts at once using the following command:
{code}
undeploy [ -A ]
{code}

No lifecycle error can occur. Whatever the artifact state, the command 'undeploy' will adapt to it to realize the undeployment. In particular, if the artifact is in state 'STOPPED', it will be undeployed without confirmation and the user will be responsible to re-deploy it if needed.

h3. Showing installed JBI artifacts