Release Automation

 View Only

Release Automation KB: Can old releases be deleted? 

Nov 25, 2014 05:19 PM

Question


Is it possible to delete releases that were executed in the past, such as, for example, for purging old releases that are no longer used?

 

 

Answer

 

By standard, "out of the box" means, no, this is not possible, because Release Automation was not designed to ever delete releases that have already been successfully executed.

 

With that understood, however, an advanced user may implement a workaround method to accomplish this:

 

  1. Login to ROC.
  2. Find the release ID from the browser URL.
  3. Go to the following address to access the JMX console: http://{NAC}:20203/mbean?objectname=releasecenter%3Atype%3DInfo (replace {NAC} with the IP address of your RA server).
  4. The username and password are "nolio". (Note: This is not sensitive security information, as it is a generic, default login for JMX access.)
  5. Once logged into JMX, enter the Release ID in the removeRelease field, then click Invoke. The release will be permanently removed.

 

NOTE: Please only handle JMX if you are absolutely sure what you are doing, as these changes cannot be undone (unless via a database backup).

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Nov 26, 2014 11:48 AM

The Purge Function would be a very useful function / feature especially when developing and testing deployments before formal publication to operations or for test environments where there will be many deployments but the history is not critical after some point in time.

Nov 26, 2014 04:18 AM

James,

 

There has been in the works a Purge Data function that will automatically purge unnecessary data to free up system space. It will enable a Superuser to configure the purge settings to specify the type of data to be purged, as well as to set purge exclusion periods that prevents the purging cycles to run during defined periods.

 

The release of this function has been delayed several times so I do not know when it will finally be released.

Related Entries and Links

No Related Resource entered.