Ability to run [job-name] when a tag is pushed to Gerrit

Barak Korren bkorren at redhat.com
Mon Dec 12 17:10:16 UTC 2016


On 12 December 2016 at 18:48, Vojtech Szocs <vszocs at redhat.com> wrote:
>
> this was discussed loong time ago.. how much effort would it take
> for oVirt CI infra to support running e.g. [build-artifacts] when
> a git tag is pushed to Gerrit repo?
>

Its just a YAML patch to copy the existing build_artifacts job, give
it a new name and change the trigger configuration.

But the trigger may be a little tricky, since the Jenkins Gerrit
trigger does not have a specific event for tags, instead it has a
"Reference updated" event. So we may need to play a little with
filtering to ensure this gets called only for tag updates and not for
branch updates...

I guess you will need our (infra) help, do we have a Jira ticket to track this?

-- 
Barak Korren
bkorren at redhat.com
RHCE, RHCi, RHV-DevOps Team
https://ifireball.wordpress.com/



More information about the Infra mailing list