That's kind of what I was afraid of - I'd hoped there was a chance that something had come along since last I dug into this a couple years ago, but...yeah. I guess I'll try something that detects simple MMS jobs that can easily be converted and hope that can make a big enough dent in the total...
A. On Tue, May 27, 2014 at 2:50 PM, Jesse Glick <[email protected]> wrote: > On Tue, May 27, 2014 at 5:29 PM, Andrew Bayer <[email protected]> wrote: >> I need to find >> a viable way to convert MavenModuleSets into FreeStyleProjects >> programmatically > > Tricky because > > 1. Some features of MMS are simply not available otherwise, and it may > be hard to determine whether those features are being relied upon in a > particular case. Things like incremental builds of only changed > modules, or triggering by builds of snapshot dependencies. > > 2. Some features available in a FSP are configured automatically in a > MMS, and finding the current value of that configuration requires > parsing the POM. Things like artifact archival and Surefire reporting. > Fingerprinting is a special case because (until my recent change made > it optional) MMS fingerprints all dependencies, most of which are > irrelevant most of the time, and fingerprinting can be expensive so > you would prefer to do it only when the fingerprints are going to be > used. > > Really we would like to have a way of adding MMS-like features and > autoconfiguration à la carte to a FSP, without using the hazardous > Maven embedder that MMS relies on. But this is a major project and no > one has committed to doing it yet. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" 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/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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/d/optout.
