Hello Dan, I guess you want to file a bug report. I suspect not that many people use the takari maven wrapper, and even less also using the pipeline-maven plugin with. But for me it looks like a legitimate use case.
Cheers! 2018-02-20 18:51 GMT+01:00 Dan Tran <dant...@gmail.com>: > Hi > > my declarative pipeline invoking withMaven + takari wrapper, it bails if I > don't define maven label > > withMaven( maven: 'M3') { > bat "./mvnw ...." > } > > Without maven defined, it errors out as > > ERROR: Could not find maven executable, please set up a Maven > Installation or configure MAVEN_HOME or M2_HOME environment variable > > This works fine when running inside docker > > is it a bug? anyone sees this. I am not able to find any bug filed for > this scenario yet > > Thanks > > -Dan > > -- > 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. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/48fd9ab5-e34d-4446-9fcb-25d23ce53b6c%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/48fd9ab5-e34d-4446-9fcb-25d23ce53b6c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6cajbKzYWJh_tSqz62bv2jUPqNTZh_eNQDwwbijJoB8w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.