Exec (updating)

Updated:2023-07-03

This command runs the commands in the MAIA context.

Activities can be created in MAIA WebApp.

Run command Restrictions Example
maia exec None maia exec -v -d "$JENKINS_REPO_ROOT/script/rc_jobs/prepare_verification"
Option flag Description
--activity-kind, -e Specify kind of activity (Default: Exec) (STRING)
--timeout, -t Timeout in seconds (INT)
--owner Set owner (STRING)

The following additional command options apply when also creating Activities in the MAIA WebApp.


The following additional command options apply when also creating Activities in the MAIA web app.

Option flag Parameter Description
--activity, -z string C The activity comment that will be showed in MAIA web app. Default activity-uuid
--activity-uuid uuid string M The uuid of this activity.
--parent-activity-uuid uuid string The uuid of the parent activity that the build belongs to in MAIA.
--no-owner Disables the owner for an activity.
--heartbeat-interval int The number of seconds between heartbeats. Default 600 sec.
--time-to-live int The maximum timeout, in seconds, before the activity is terminated. Default 7200 sec.
--save-log, -g Saves the log file locally

The following additional command options apply to all MAIA Agent commands.


The following additional command options apply to all MAIA Agent commands.

Option flag Description
--help, -h Shows all available options for the command.
--verbose, -v Enables verbose mode.
--debug, -d Enables debug mode.