You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Juan Pablo Santos Rodríguez <ju...@gmail.com> on 2013/05/27 22:13:45 UTC
Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o
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! :-)
On Thu, May 23, 2013 at 1:12 PM, Glen Mazza <gm...@apache.org> wrote:
> Hi, could you please update our JSPWiki build script on Jenkins to use
> "mvn clean install" instead of "ant clean dist"? We're in the process of
> Mavenizing and the Maven version now has most of the stuff we care to test.
> The Ant script just has a few remaining bundling targets left, it can't
> build anything with Maven being run first.
>
> Thanks,
> Glen Mazza
> Incubating Apache JSPWiki team.
>
> --
> Glen Mazza
> http://www.jroller.com/gmazza/
> Twitter: glenmazza
>
>
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! :-)
>>
>>
>>
>
>
(Really?) Re: Switch JSPWiki from Ant to Maven on Jenkins, also @
analysis.a.o
Posted by Glen Mazza <gl...@gmail.com>.
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: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o
Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
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! :-)
>
>
>
Re: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o
Posted by Olivier Lamy <ol...@apache.org>.
Hi
@Jake
Sonar build don't run on builds.a.o (so don't add sonar build here
https://builds.apache.org/job/JSPWiki I removed that).
Sonar builds run on analysis.a.o/jenkins/ so here
https://analysis.apache.org/jenkins/job/jspwiki
I have configured the build on analysis.a.o and it will run soon (when
executor available)
2013/5/28 Jake Farrell <jf...@apache.org>
> 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! :-)
>
>
>
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Re: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o
Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
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! :-)
>
>
>
Re: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o
Posted by Olivier Lamy <ol...@apache.org>.
Hi
@Jake
Sonar build don't run on builds.a.o (so don't add sonar build here
https://builds.apache.org/job/JSPWiki I removed that).
Sonar builds run on analysis.a.o/jenkins/ so here
https://analysis.apache.org/jenkins/job/jspwiki
I have configured the build on analysis.a.o and it will run soon (when
executor available)
2013/5/28 Jake Farrell <jf...@apache.org>
> 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! :-)
>
>
>
--
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy
Re: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o
Posted by Jake Farrell <jf...@apache.org>.
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: Switch JSPWiki from Ant to Maven on Jenkins, also @ analysis.a.o
Posted by Jake Farrell <jf...@apache.org>.
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! :-)
>
>