You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Glen Mazza <gl...@gmail.com> on 2013/05/27 22:54:00 UTC

(Really?) Re: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o

JP, why are you running "-Dmaven.test.skip=true", the purpose of Jenkins 
precisely is to complain when unit test failures occur.

Glen

On 05/27/2013 04:29 PM, Juan Pablo Santos Rodríguez wrote:
> cool, thanks!
>
> br,
> juan pablo
>
> On Mon, May 27, 2013 at 10:26 PM, Jake Farrell <jfarrell@apache.org 
> <ma...@apache.org>> wrote:
>
>     Hi Juan
>     I have added the sonar:sonar build step as requested after the
>     clean install is run.
>
>     -Jake
>
>>     Juan Pablo Santos Rodríguez <ma...@gmail.com>
>>     May 27, 2013 4:13 PM
>>     Hi,
>>
>>     apologies on asking more or less for the same thing twice, but we
>>     have one
>>     more Jenkins job to move to Maven. Specifically,
>>     https://analysis.apache.org/jenkins/job/jspwiki/ performs "ant Sonar
>>     -Dsonar.*=..." and we would like it to perform a two step build:
>>     first "mvn
>>     clean install -Dmaven.test.skip=true" followed by "mvn
>>     sonar:sonar" (btw,
>>     do we have to add any special property or it's enough declaring
>>     the maven
>>     Sonar plugin, nothing to do,..?)
>>
>>
>>     thx! :-)
>>
>>
>


Re: (Really?) Re: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi,

only for Sonar, as it's the recommended way (cfr.
http://docs.codehaus.org/display/SONAR/Analyzing+with+Maven), the tests get
executed during the sonar goal, so we avoid executing them twice.


rgrds,
juan pablo

On Mon, May 27, 2013 at 10:54 PM, Glen Mazza <gl...@gmail.com> wrote:

>  JP, why are you running "-Dmaven.test.skip=true", the purpose of Jenkins
> precisely is to complain when unit test failures occur.
>
> Glen
>
> On 05/27/2013 04:29 PM, Juan Pablo Santos Rodríguez wrote:
>
> cool, thanks!
>
> br,
> juan pablo
>
> On Mon, May 27, 2013 at 10:26 PM, Jake Farrell <jf...@apache.org>wrote:
>
>> Hi Juan
>> I have added the sonar:sonar build step as requested after the clean
>> install is run.
>>
>> -Jake
>>
>>    Juan Pablo Santos Rodríguez <ju...@gmail.com>
>>  May 27, 2013 4:13 PM
>>   Hi,
>>
>> apologies on asking more or less for the same thing twice, but we have one
>> more Jenkins job to move to Maven. Specifically,
>> https://analysis.apache.org/jenkins/job/jspwiki/ performs "ant Sonar
>> -Dsonar.*=..." and we would like it to perform a two step build: first
>> "mvn
>> clean install -Dmaven.test.skip=true" followed by "mvn sonar:sonar" (btw,
>> do we have to add any special property or it's enough declaring the maven
>> Sonar plugin, nothing to do,..?)
>>
>>
>> thx! :-)
>>
>>
>>
>
>