Description of problem: Not able to override $MAVEN_ARGS values in JBoss EWS cartridge. See below : [1] https://github.com/openshift/origin-server/blob/master/cartridges/openshift-origin-cartridge-jbossews/bin/build One needs to modify : export MAVEN_ARGS="clean package -Popenshift -DskipTests" to if [ -z "$MAVEN_ARGS" ]; then export MAVEN_ARGS="clean package -Popenshift -DskipTests" fi Similar to JBoss EAP cartridge Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Create a JBoss EWS application 2. create an action hook to override $MAVEN_ARGS 3. git add > commit > push the application, you will see variable is not overridden. Actual results: $MAVEN_ARGS value stays to default : "clean package -Popenshift -DskipTests" Expected results: Should be overridden with the values provided in action hook Additional info:
Sent a pull request : https://github.com/openshift/origin-server/pull/4218
Good catch! https://github.com/openshift/origin-server/pull/4225
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/be5a392a0a4a17dc335f4a7dc57f01c579d56fb2 Bug 1033144: Allow MAVEN_ARGS overriding in jbossews builds
Created attachment 915811 [details] Comment (This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).