Skip to content

Conversation

@lucasls
Copy link
Contributor

@lucasls lucasls commented Oct 20, 2025

The Pipeline and Job webhook events support the environment for deployment jobs, but they are missing in the library.

You can find more information at https://docs.gitlab.com/user/project/integrations/webhook_events/ (search for "environment": { to see an example).

I noticed the Build class is not in the models package, instead of webhook. I didn't change it since it'd break compatibility, but let me know if you think I should change something about it.

@lucasls lucasls force-pushed the feature/webhook-environment-field branch from 551c1c3 to 306a159 Compare October 20, 2025 17:34
@lucasls lucasls changed the title Support environment field in the Pipeline and Build webhook events Support environment field in the Pipeline and Job webhook events Oct 20, 2025
@lucasls lucasls marked this pull request as ready for review October 20, 2025 17:45
@lucasls lucasls changed the title Support environment field in the Pipeline and Job webhook events Support the "environment" field in the Pipeline and Job webhook events Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant