On Ai Release we have "VSTS/TFS Queue Build" task and we want to retrieive the variable "BuildResult" in case of the task is in "Partially succedeed" or "Failed" status.
Actually the variable "BuildResult" only conatin "succedeed" or nothing.
The build is launched by the release task
The error log we have in the activity section is:
------------------------------
Exception during execution:
javax.script.ScriptException: Exception: Build failed with status 'partiallySucceeded' in <script> at line number 23
------------------------------
The use case is that the release task which executes a build does not fall into error if a build task is partially successful (warning) because it is a task which is not important for deployment on a test infrastructure (QA) but which will be important for deployment on a production infrastructure. In our case, these are file signing and file provisioning tasks for developers.
by: Elyes R. | 7 months ago | Integrations
Comments
Thank you for your suggestion. The use case is clear, and we will begin working on this update after the 24.3 (Fuji) release.
We have planned this change for 24.3 version (Q4, 2024).
In the upcoming 25.1 release, we will be providing a new integration with Azure DevOps, utilizing the latest updated APIs.
The change is available for plugins:
https://dist.xebialabs.com/customer/xl-release/plugins/xlr-vsts-tfs-plugin/23.3.0/
https://dist.xebialabs.com/customer/xl-release/plugins/xlr-vsts-tfs-plugin/24.1.3/