Is it possible to use the system property in the JBoss CLI deploy command
Issue
How to use the system property in the JBoss CLI deploy command?
jboss-cli.sh -c --controller=localhost:9999 --file=deploy.cli --properties=script.properties
deploy.cli:
deploy /home/server/deploy/SampleApp.war --server-groups=${env}-other-group
script.properties:
env=main
- Not able to substitute system property in
EAP 6CLI-command.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.0
- 6.1
- 6.2
- 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
