Get execution parameter
See also: Retrieve parameter values
You can use the std.param.exec()
task to retrieve the value of an execution user parameter during build execution.
If you use the following command line to build your project:
-Uexample.exec.parameter=abc
Then for the following build script:
$execparam = std.param.exec(example.exec.parameter)
The variable $execparam
will have the value "abc"
.