Skip to main content

operation invoke

Invokes a single operation or a set of operations

kreyac operation invoke [--scripting-timeout] [--relative-to] [--disable-scripts] [--test-report-junit] [Operations]

Example​

kreyac operation invoke my-operation.krop

Options​

scripting-timeout​

--scripting-timeout
Can also be set via the environment variable KREYA_SCRIPTINGTIMEOUT
Default: 20

Timeout of operation scripts in seconds

relative-to​

--relative-to

Default: project

Determines the base path for resolving relative paths and globs. Accepted values: project, current-working-directory (alias: cwd)

disable-scripts​

--disable-scripts

Disable the scripts of all operations for this invocation

test-report-junit​

--test-report-junit

Enables the JUnit test reporter and writes the JUnit report to the specified file

Arguments​

Operations required multiple​

Paths of the operations to be invoked, these could be directories, .krop files or globs (e.g. './my-service/**'). Some shells expand globs automatically, so you should enclose them in quotes. Operations are invoked in alphabetical order.