How can I add a preinstall section to the deploy.xml bundle for JON?

Solution Verified - Updated -

Issue

  • I have a deploy.xml recipe file that we use to deploy a bundle. I need to add a preinstall sections that does a TAR backup of the deploy directory before deploying the code as we have noticed that if the wrong 'root deployment directory' is selected then the deployment deletes files within the deployment directory.
  • How can I add this?

Environment

  • JBoss Operations Network (JON) 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content