Support building artifacts from patch "on-demand"

Description

Hi,

I think it will be useful to have an option to very easily (such as
pressing a button in gerrit) to do a full build of a project,
similarly to current build-artifacts, but for a pending patch - so it
will not be collected by any publisher, and will keep its artifacts
for a short time (say, 2 days).

This will allow to use these artifacts for manual tests, perhaps
longer than check-patch, in case a developer wants to do them.

Didi

Activity

Show:

Eyal Edri December 20, 2016 at 9:31 AM

Any new project that wants also this feature, can just send patch with single line to his yaml code,
more info is on the blog post.

Eyal Edri December 20, 2016 at 9:31 AM

Jobs are now available on CI (look for "on-demand" jobs) and can be triggered by adding a comment "ci please build" on the patch in Gerrit.

Eyal Edri December 20, 2016 at 9:30 AM

Eyal Edri December 20, 2016 at 9:29 AM

support added to:

  • ovirt-engine

  • vdsm

  • vdsm-jsonrpc-java

  • ovirt-engine-dashboard

Eyal Edri December 8, 2016 at 8:36 AM

the hooks triggering is totally different system ( gerrit hooks internal ) and yes, the comments are not functional and we should probably fix them.
What I suggested is to use the Jenkins Gerrit Trigger capabilities, so it won't suffer from the same problem.

Fixed

Details

Assignee

Reporter

Priority

Created December 8, 2016 at 7:57 AM
Updated January 3, 2017 at 7:33 AM
Resolved December 20, 2016 at 9:31 AM