Am Donnerstag, 23. August 2018 14:45:12 UTC+2 schrieb [email protected]:
>
> Hi!
>
> I'm relying on gerrit trigger plugin as the connecting layer between my
> Jenkins & Gerrit infrastructure. Recently, a need came up to introduce a
> third label in gerrit, besides Code-Review and Verified. But so far I saw
> that GTP doesn't support posting votes on custom labels... so I was
> thinking of developing this feature and adding it as a pull request.
>
> Has anyone thought of / attempted this before? Was this custom label
> support ever considered by the developers and if yes, what made them back
> away?
>
> Any help / info is much appreciated!
>
We sometime setting custom labels from jobs as well, by just using the
ssh-cli.
sh """ ssh -p 29418 <gerriturl> gerrit review --label FinalBuild=+1
--submit ${GERRIT_PATCHSET_REVISION} """
As we need those custom votes only on special jobs (or only for parts of
the jobs) , this is the easier approach for us.
Björn
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/ff57f325-2fb5-4661-98a3-ed442cf1503e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.