[JIRA] Commented: (HUDSON-7145) Want to clone git repository and apply patch when gerrit event is triggered

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-7145) Want to clone git repository and apply patch when gerrit event is triggered

Kohsuke Kawaguchi
Administrator

    [ http://issues.hudson-ci.org/browse/HUDSON-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144533#action_144533 ]

rsandell commented on HUDSON-7145:
----------------------------------

The downloading of git and patch is handled by the git scm plugin.
It feels strange to have scm features in a trigger.
And to my knowledge the full repo url is not provided by the patchset-created event from Gerrit.
The best we could do is probably to provide the Gerrit hostname as a parameter.

> Want to clone git repository and apply patch when gerrit event is triggered
> ---------------------------------------------------------------------------
>
>                 Key: HUDSON-7145
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-7145
>             Project: Hudson
>          Issue Type: New Feature
>          Components: gerrit-trigger
>            Reporter: rin_ne
>            Assignee: rsandell
>            Priority: Minor
>
> Now, we can receive gerrit event by gerrit trigger plugin.
> Then, some environment values are provided.
> We can write build process, but some information is missed.
> - Repository url (hostname, port, protocol)
> We can prepare source by provided information, but its process is same for each user.
> I want to suggest a function: prepare environment for verify/codereview when gerrit event is triggered.
> - Download git repository to workspace
> - Apply patch

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira