I've been testing my programs using arquillian for months now. I just recently installed jenkins in a glassfish container and have it build my project. I have a problem that arquillian is trying to use the same settings as the glassfish container that hosts jenkins, and it is failing my tests.
I tried using domain.xml as documented in https://docs.jboss.org/author/x/zgAO. The domain.xml I used is a sample copy of domain.xml generated by arquillian when it runs its tests (i.e. /var/folders/mf/tdymlzl95cj0fvw4vgxzqzj00000gn/T/gfembed5574188909570726432tmp/applications/)
my sample arquillian.xml content is
<container qualifier="glassfish" default="true">
<configuration>
<property name="configurationXml">src/test/setup/domain.xml</property>
<property name="resourcesXml">src/test/setup/glassfish-resources.xml</property>
</configuration>
</container>
Still it is failing.
All I wanted is to be able to configure ports that arquillian will use in embedded container so it will not conflict with the container that runs jenkins.
thanks in advance for any feedback or help.