Skip to content

Instantly share code, notes, and snippets.

@ryanthames
Created September 13, 2018 15:57
Show Gist options
  • Save ryanthames/48dcb6e45d7e05cc8ec9fe924e54c509 to your computer and use it in GitHub Desktop.
Save ryanthames/48dcb6e45d7e05cc8ec9fe924e54c509 to your computer and use it in GitHub Desktop.
Undeploy an app from wildfly/jboss. If the app isn't already deployed, then ignore
if (outcome == success) of /deployment=my-deployment.war:read-attribute(name=status)
echo app is deployed, undeploying...
undeploy my-deployment.war
end-if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment