[go: up one dir, main page]

Skip to content

Job Webhook does not have standardized request body compared to Pipeline Webhook

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#job-events https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#pipeline-events

The request bodies are not standardized between pipeline events and job events. I believe pipeline events is similar to the others, but job events is not.

I.e. Job hook vs Pipeline Hook

body["project_name"] vs body["project"]["name"]
body["commit"]["author_name"] vs body["commit"]["author"]["name"]
body["build_status"] vs body["object_attributes"]["status"]
Edited by 🤖 GitLab Bot 🤖