Is it possible via CLI to delete all but 10 of the last deployments to a destination in JBoss ON?
Issue
- I would like to write a JBoss ON CLI JS script to delete older versions of deployed bundles to a specific destination. I want to keep only the last 10 deployments. Is this possible?
Environment
- Red Hat JBoss Operations Network (ON) 3.1.2
- JBoss ON Command Line Interface (CLI) 3.1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.