Add Comments to a Task
In the Release GUI, you can add comments to any type of task in a template or release by opening the task and clicking Add comment.
In the Release GUI, you can add comments to any type of task in a template or release by opening the task and clicking Add comment.
In addition to the Jython API, the following helper functions are available in Jython Script tasks and Python scripts for plugin tasks.
There are various methods to automate functionality in Digital.ai Release.
A Jython Script task contains a Jython script that is executed on the Release server. This is an automated task that completes when the script finishes successfully.
You can extend Release by creating new endpoints backed by Jython scripts. You can use this feature, for example, to integrate with other systems.
An External Script task points to a Jython or Groovy script that will be executed on the 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.
To get a value from a release variable of type key-value map and use the value in a text field, add a Jython Script task that gets the value and stores it in another variable.
A Groovy Script task contains a Groovy script that is executed on the Release server. This is an automated task that completes when the script finishes successfully.
To use the Release REST API, you need to know the unique identifiers for templates, releases, phases and tasks. This topic explains where you can find them.
Remote Script tasks enable Release to execute commands on remote hosts using the Overthere framework, a Java library for manipulating files and executing processes on remote hosts.
The execution flow can be controlled by setting a precondition on a task. A precondition is an if statement for tasks, written in Jython script code.
The code here is sample code only and it is not officially supported by Digital.ai. If you have questions, please contact the Digital.ai Support Team.
When you are configuring an automated task such as a Webhook, Script, or custom task, for the first time while creating a release template in Release, you usually need to test and tweak it a few times before the configuration is correct.
Increase server timeout settings for custom rest endpoints.
Release prevents the improper usage of passwords by allowing password type variables to be used only in password fields.
Release has an API that you can use to manipulate releases and tasks. You can access the API from Jython Script tasks and from Release plugin scripts. This is an example of a simple Jython script in a Script task. It uses a script to add a comment to the task.