6.3.4.7. PostCommand
Run an arbitrary shell command
Options
The following places define options that affect this rule: PostCIActions
abort_on_error
abort_on_error : bool = False
Whether the CI run should be aborted if this action fails.
command
command : str = ''
Command to execute. This is run as a shell command and has to comply with the
quoting rules used for the default shell.
cwd
cwd : bauhaus.analysis.config.ProjectRelativePath | None = None
Directory for execution for the command. Defaults to
/Project/directory if left unspecified.
environment
environment : dict[str, str] = {}
Environment for extending the call of the command. These entries are added to the
environment and existing ones will be overwritten.
failure_exit_code
failure_exit_code : int = 1
The exit code to return from the CI run on failure if abort_on_error is True.
log_execution
log_execution : bool = True
Whether the command to be executed is logged.