Valid since:
XL Release 6.1.0

An External Script task points to a Jython or Groovy script that will be executed on the XL Release server. This is an automated task that completes automatically when the script finishes successfully. The task detects the language of the script by the file name extension.

The External Script task type only supports basic HTTP authentication; you should provide an HTTP/HTTPS URL that points to a script file. The task type does not support other protocols.

For an example showing how you can use the External Script task type, refer to Create a release from a Git repository.

External Script Task Details

In the release flow editor, External Script tasks have a gray border.

Security and External Script tasks

When an External Script task becomes active, the script is executed in a sandbox environment on the XL Release server. This means that the script has very restricted permissions. By default, access to the file system, network, and non API related classes is not allowed.

To remove these restrictions, add a script.policy file to the XL_RELEASE_SERVER_HOME/conf directory. This is a standard Java Security Policy file that contains the permissions that a script should have.

To enable the use of additional Java packages or classes in the script, use the following XL Release specific RuntimePermission:

permission "*";
permission "";

You must restart the XL Release server after creating or changing the XL_RELEASE_SERVER_HOME/conf/script.policy file.