Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hooks on merge requests #32

Open
saraf opened this issue Aug 30, 2015 · 1 comment
Open

Support hooks on merge requests #32

saraf opened this issue Aug 30, 2015 · 1 comment

Comments

@saraf
Copy link
Contributor

saraf commented Aug 30, 2015

Capability for merge requests in gitlab to trigger strider jobs. (like github pull request and travis)

There is a merge_request_events parameter in the API call for adding hooks.

http://doc.gitlab.com/ce/api/projects.html#hooks

Add project hook

Adds a hook to a specified project.

POST /projects/:id/hooks

Parameters:

    id (required) - The ID or NAMESPACE/PROJECT_NAME of a project
    url (required) - The hook URL
    push_events - Trigger hook on push events
    issues_events - Trigger hook on issues events
    merge_requests_events - Trigger hook on merge_requests events
    tag_push_events - Trigger hook on push_tag events
@vijayrawatsan
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants