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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.