Gerrit trigger result for each job - NOT join result

135 views
Skip to first unread message

Alex

unread,
Jan 5, 2015, 5:42:29 AM1/5/15
to jenkin...@googlegroups.com
Hi,

The Gerrit Trigger plugin allows you to create multiple jobs with the same criteria, 
and it will automatically join the results together before publishing results into Gerrit.
How I can cancel the automatic join of the results so I will have result per job for the same trigger ?

Thanks

Robert Sandell

unread,
Jan 5, 2015, 6:34:27 AM1/5/15
to jenkin...@googlegroups.com
That's currently not possible to do, except for triggering builds in silent mode.

The problem with _not_ joining the results is that each build would then override the review vote of the previous one.

So one quick build could vote say Verified +1 allowing the patch to be merged, and maybe is, but 15 min later one test fails and wants to put -1 but can't since the change is merged already.
Or two quick builds fails voting -1 and 15 min later another job's build succeeds and overwrites the result with +1 allowing it to be merged even though it shouldn't be.

There are plans for a "job grouping" feature where the idea is that you could group for example fast jobs together in one group and slow jobs in another and so on. and the trigger would send intermediate results for each group (you could potentially have each job in its own group here) But only negative results would actually get votes, positive results would not get its vote until every build is done, but you would at least get quick turnaround for failing builds.

/B

--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/25123447-5e51-4232-a743-b43b266200e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.
Reply all
Reply to author
Forward
0 new messages