Conditional build steps for maven projects

2014-02-18 Thread srivastv
flexible publish plugin only for free style projects. Any help would be highly appreciated. -Thanks -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Conditional-build-steps-for-maven-projects-tp4690508.html Sent from the Jenkins users mailing list archive at Nabble.com

Re: Conditional build steps for maven projects

2014-02-17 Thread Maciej Jaros
varun srivastava (2014-02-17 08:13): Hi, How can I run conditional steps with Maven projects ? For free style projects I am able to set up conditional steps but this seems not available with Maven projects. Conditional steps are available both after and before Maven is build is run (in Pre/

Re: Conditional build steps for maven projects

2014-02-17 Thread Stephen Connolly
Ah but the advantage is you have a reproducible build... Unlike a build with the evil job type On Monday, 17 February 2014, varun srivastava wrote: > Thanks for the reply. > > I have tried this. But the disadvantage is that I loose features related > to maven projects like Displaying modules bui

Re: Conditional build steps for maven projects

2014-02-17 Thread varun srivastava
Thanks for the reply. I have tried this. But the disadvantage is that I loose features related to maven projects like Displaying modules built, modules history etc. (For multi-module maven projects) On Tue, Feb 18, 2014 at 1:07 AM, Eric Pyle wrote: > You can run a Maven build in a freestyle j

Re: Conditional build steps for maven projects

2014-02-17 Thread Eric Pyle
You can run a Maven build in a freestyle job. Add a build step of type "Invoke top-level Maven targets". Then you can use conditional build steps and all other features of freestyle builds. Regards, Eric On 2/17/2014 2:13 AM, varun srivastava wrote: Hi, How can I run conditional steps with M

Conditional build steps for maven projects

2014-02-16 Thread varun srivastava
Hi, How can I run conditional steps with Maven projects ? For free style projects I am able to set up conditional steps but this seems not available with Maven projects. Additionally I also want to publish findbugs/pmd reports conditionally in maven projects. Again this looks possible using