update
You can use the update command to install higher versions of existing plug-ins or revert to an earlier version.
Overview
You can use the update command to manage the plug-ins and to keep
them up to date with the latest versions. Furthermore, the ability to integrate
multiple versions of the same plug-in simultaneously provides flexibility in
managing different workflows and processes. You can also use the
update command to update the plug-in by deleting the existing
versions, if any. You must have INSTALL_PLUGIN and DELETE_PLUGIN
access to run this command. For more information, see Access required to run Orchestration CLI commands.
Important: When you update a plug-in, there is a delay in completing the
operation. This delay is customizable with a default value of 10 minutes. If you
want to customize the delay, modify the value for
UNO_REFRESH_INTERVAL_SECONDS in helm charts.
Syntax and command line options
You can enter the command as
follows:
ocli plugin [update | u ] filepath or folderpath [;noask]
The
filepath or folderpath parameter is
mandatory. If you specify the noask parameter the command
updates the plug-in to the latest version by deleting the existing version of the
plug-in. The details required with each parameter are as follows:- filepath or folderpath
- Specify the location of the plug-in executable file.
- noask
-
When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.
Examples
- Run the following command to update the plug-in in the
C:\ProgramFiles\plugins
location.
ocli plugin C:\ProgramFiles\plugins ;noask
- Run the following command to install the plug-in in the
home/john/plugins
location.
ocli plugin home/john/plugins ;noask