Freestyle using "Invoke top-level maven targets" passes all parameters to target??

19 views
Skip to first unread message

Brantone

unread,
Aug 13, 2015, 4:02:53 AM8/13/15
to Jenkins Users
Using Freestyle project rather than Maven-project due to several recommendations ... ex: as one poster called it : the "evil job type" :-/

Except, when calling it via  "Invoke top-level maven targets", I see it passes in ALL build parameters as options, can anyone shed light on why that'd be the case? Or what benefit that provides?
I guess maybe it makes it easier if it's actually desired, but for just wanting to do simple build, those extra pre-pended options get clunky ... furthermore, as far as I can tell, there's no mention in any of the help dialogues that say that'll occur.

The nearest I could find is:

Any reasoning, or is it better just to use the Maven job-type ??

Thanks in advance.

Brantone

unread,
Aug 13, 2015, 4:43:58 AM8/13/15
to Jenkins Users
Forgot to add ... this is in relation to https://issues.jenkins-ci.org/browse/JENKINS-23831 ... but maybe better underlying question is: why does this behaviour exist? is there a good reason? Should it default to _not_ do that and to add an additional option to enable it, or vice versa?
Reply all
Reply to author
Forward
0 new messages