withMaven triggers same project?

32 views
Skip to first unread message

Dan Tran

unread,
Mar 29, 2018, 11:58:21 PM3/29/18
to Jenkins Users
Hi 

I am finally able to get a project to trigger a downstream project belong to the same multi-branch projects 

However, I now facing a strange situation where the downstream project triggers itself in a loop. 

It may have something to do with my downstream project with multiple withMaven invocations

The correct solution would be for the withMaven plugin not to trigger the same project.

is it reasonable to ask?
.
Thanks

-Dan

Dan Tran

unread,
Apr 1, 2018, 6:16:44 PM4/1/18
to Jenkins Users
I think I found the root cause  of my cyclic trigger

My pipeline has 2 OS specific stages: Linux and Windows, where the windows stage requires an artifact built by  Linux stage via withMaven.  This causes withMaven to trigger its very won pipeline

Will file an enhancement request

-D

Cyrille Le Clerc

unread,
Apr 2, 2018, 1:17:17 PM4/2/18
to Jenkins Users
Thanks Tran, this is definitively not desired.

Reply all
Reply to author
Forward
0 new messages