Re: Pass env variables to junit test from jenkins

2012-11-26 Thread Serega Sheypak
I did it here: Project configuration -> Maven -> Build -> Goals and options (input field), the I've added -DargLine="-Dmyprop=myvalue... etc..." Thanks, problem is solved. 2012/11/26 Clemens > Hey, > > have you tried to split it, like this: > > variable=value > export variable > > So, you are n

Re: Pass env variables to junit test from jenkins

2012-11-23 Thread Serega Sheypak
> simple enough, even if you run it from Bash shell / as Bach command (from > Jenkins job) > > Thanks > > On Fri, Nov 23, 2012 at 11:09 AM, Serega Sheypak > > > wrote: > >> Hi, I have pretty silly question. Please help me. >> I do have a test which get

Pass env variables to junit test from jenkins

2012-11-23 Thread Serega Sheypak
Hi, I have pretty silly question. Please help me. I do have a test which gets parameters from env variables: public Conf(){ this.hostname = System.getProperty(WEBAPP_HOST); this.port = System.getProperty(WEBAPP_PORT); this.contextPath = System.getProperty(WEBAPP_CONTEXTPA