-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
CLOUD Maintenance Sprint 1
Having two kjars in deployments/ with "-" in their artifactId, and an empty KIE_CONTAINER_DEPLOYMENT env.
The resulting KIE_CONTAINER_DEPLOYMENT will be
KIE_CONTAINER_DEPLOYMENT: hello-world=com.redhat.xpaas.brms:hello-world:1.0-SNAPSHOT|hello-world=com.redhat.xpaas.brms:hello-world:1.1-SNAPSHOT
however, there is a suspicous line in the build logs
E0810 11:35:35.174844 1 util.go:91] /opt/eap/bin/kieserver-config.sh: line 85: hello-world=com.redhat.xpaas.brms:hello-world:1.1-SNAPSHOT: command not found
The eval in question seem to evaluate the | as a shell pipe, which fails in this case, but is never correct anyway.
eval should not be used to set env variables.
Also the fact that the whole build works despite this issue suggests that part of the script is probably wrong.