configure - Configure jobs

Control job configuration

moa.plugin.system.configure.hook_git_finish_set()

Execute just after setting a parameter

moa.plugin.system.configure.set(job, args)

Set one or more variables

This command can be used in two ways. In its first form both parameter key and value are defined on the command line: moa set KEY=VALUE. Note that the command line will be processed by bash, which can either create complications or prove very useful. Take care to escape variables that you do not want to be expandend and use single quotes where necessary. For example, to include a space in a variable: moa set KEY=’VALUE WITH SPACES’.

Alternative use of the set command is by just specifying the key: ‘moa set PARAMETER_NAME’, in which case Moa will prompt the user enter a value - circumventing problems with bash interpretation.

moa.plugin.system.configure.show(job, args)

Show all parameters know to this job.

Parameters in bold are specifically configured for this job (as opposed to those parameters that are set to their default value). Parameters in red are not configured, but need to be for the template to operate. Parameters in blue are not configured either, but are optional.

moa.plugin.system.configure.unset(job, args)

Remove a parameter from the configuration

Remove a configured parameter from this job. In the parameter was defined by the job template, it reverts back to the default value. If it was an ad-hoc parameter, it is lost from the configuration.

Previous topic

adhoc - create jobs from adhoc bash code

Next topic

doc - Manage job documentation