jenkinsci / jenkinsci/gitlab-plugin

Expose the raw webhook event JSON as a variable for pipeline parsing

Open
#1,476 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
1.4k
Forks
615
Avg merge
4h 32m
Merged PRs (30d)
10

Description

### What feature do you want to see added?

There have been significant changes to the [GitLab Webhooks](https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html), and this gitlab plugin hasn't always been able to keep up, as the list of Issues about mismatches reveal. To make it more future-resistant, exposing the raw body of the webhook via a variable a pipeline can choose to consume would allow individual users to extract any data they need from a post-parsed triggering event, even if support for an added data field may not yet be present in the plugin.

Suitable for GSoC, as loosely discussed in https://github.com/jenkinsci/gitlab-plugin/issues/1005

### Upstream changes

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.