You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by "gabriel.ozeas" <ga...@gmail.com> on 2012/04/22 16:33:18 UTC
OpenEjb + Jenkins
Hi,
I'm having problems when do execute the tests in jenkins using maven
Apparently the jenkins change the jndi name because its build the project in
a different directory;
Building in workspace ~/.jenkins/jobs/ejb-exemplo/workspace
So the example lookup in workspace in JNDI, when should look at ejb-exemplo.
I think this is more a problem of Maven + Jenkins
Has someone already had this problem?
Thanks,
Gabriel
--
View this message in context: http://openejb.979440.n4.nabble.com/OpenEjb-Jenkins-tp4578266p4578266.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: OpenEjb + Jenkins
Posted by "gabriel.ozeas" <ga...@gmail.com>.
Hi Romain,
It works now, thanks for the help.
--
View this message in context: http://openejb.979440.n4.nabble.com/OpenEjb-Jenkins-tp4578266p4578443.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: OpenEjb + Jenkins
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,
By default in maven we take the name of the project folder. To avoid it add
a module name in ejb-jar.xml.
- Romain
Le 22 avr. 2012 16:33, "gabriel.ozeas" <ga...@gmail.com> a écrit :
> Hi,
>
> I'm having problems when do execute the tests in jenkins using maven
>
> Apparently the jenkins change the jndi name because its build the project
> in
> a different directory;
>
> Building in workspace ~/.jenkins/jobs/ejb-exemplo/workspace
>
> So the example lookup in workspace in JNDI, when should look at
> ejb-exemplo.
>
> I think this is more a problem of Maven + Jenkins
>
> Has someone already had this problem?
>
> Thanks,
> Gabriel
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/OpenEjb-Jenkins-tp4578266p4578266.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>