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/Post steps). I'm not sure what is missing? I'm assuming you
have Conditional BuildStep Plugin?
Note that you can also add "Conditional steps (multiple)" and inside
that add e.g. call to a different job (with Parameterized Trigger Plugin).
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.
You can run Findbugs and other tests within Sonar and you can have a
step "Invoke Standalone Sonar Analysis" within "Conditional steps
(multiple)". Haven't tried that myself (we have a separate job for full
tests), but that seems possible.
Cheers,
Nux.
--
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.