Script validators (validationScript)
Lightweight script validators are scripts that do not require connection to external services. Scripts can be written in the repository and then used on the request.
The script code should be written in plain JavaScript (ES6 or newer). The code must be compatible with the version of the JavaScript engine provided by Rhino (http://mozilla.github.io/rhino/compat/engines.html). Additionally have been disabled such elements as "eval".
Timeout
Warning! The script execution time is limited to 1 second, to eliminate cases of use of an infinite loop/unending recursion. After exceeding one second, an exception will be thrown.
Last updated
Was this helpful?
