Skip to content

bot deploy

This command creates a new robot in the server, or deploy a new version for a robot that already exists.

./BotCLI bot deploy [arguments]

What are the arguments?

Argument Required Description
-version,
--v
Yes The version identifier of the robot.
-botId,
--bid
Yes The ID of the robot.
-file,
--f
Yes The path to the robot file (.jar, .zip or .tar.gz).
-repository,
--r
No The repository where the robot will be deployed. Default is DEFAULT.
-python,
-java
or
-javascript
Yes The technology used by the robot (python, java or javascript).

Examples

Deploy a new bot with the Id MyBot using the Java technology that will run the file my_bot.jar.

./BotCLI bot deploy -version 1.0 -botId "MyBot" -file "my_bot.jar" -java

Deploy a new bot with the Id MyPythonBot using the Python technology that will run the package MyPythonBot.zip.

./BotCLI bot deploy -version 1.0 -botId "MyPythonBot" -file "MyPythonBot.zip" -python

Deploy a new version 1.1 to an existing bot with the Id MyBot using the Java technology that will run the file my_bot.jar.

./BotCLI bot deploy -version 1.1 -botId "MyBot" -file "my_bot.jar" -java