Similar to releaseApi.delete() but with access to the archived DB. The built in feature for deleting archived releases is very limited and has no customization required for working with large amount of releases.
https://docs.xebialabs.com/jython-docs/#!/xl-release/22.3.x//service/com.xebialabs.xlrelease.api.v1.ReleaseApi#ReleaseApi-delete-String
And also update the docs to include the limitations
by: Denis D. | about a year ago | API & CLI tools
Comments
Could you kindly provide us with the specific archiving criteria you have in mind? We have a plugin that is currently under testing with various customers, and understanding your requirements will help us assess whether it aligns with your conditions.
Answering this as another interested customer, who has their hands on the plugin mentioned - the plugin seems quite extensive and it's straight forward to use. A few things that would be useful on the plugin:
- have the first field, the Title one (Title or part of the title of the archived releases to be purged), use regex, to allow for more complexity and flexibility with title matching
- allow the Status field (which currently has 2 possible options: Aborted and Completed) to action on both Aborted and Completed archived releases (either by leaving the field empty or making the selection explicit)
- add this functionality in the core product by extending the current, simple purging mechanism, to take the burden off the users of creating the template to run the task and setting up triggers or running the template manually