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 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 flexible publish plugin only for free style projects.

Any help would be highly appreciated.

-Thanks
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to