Bug 1299182

Summary: [GSS] Document *.cli deployment deploy.scr / undeploy.scr
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brad Maxwell <bmaxwell>
Component: DocumentationAssignee: eap-docs <eap-docs>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.6CC: bmaxwell, eap-docs, pkremens
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:44:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brad Maxwell 2016-01-17 03:54:23 UTC
Description of problem:

There is a feature where a cli deployment can be deployed via the CLI which can include deploy.scr and undeploy.scr which can contain CLI commands to run during deployment.

From what I've seen it must be deployed through the CLI, copying into the deployments directory does not work.

test.cli
 - deploy.scr
 - undeploy.scr
 - servlet-annotations.war

deploy.scr
--------------------
/system-property=test:add(value=success)
deploy servlet-annotations.war

Deploying such as this, shows that the system property gets set and the servlet-annotations.war when deployed will read the system property showing that test=success

jboss-cli.sh -c
deploy test.cli

Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information: