Skip to content

Add variables on pipeline webhook

Pierre Tardy requested to merge tardyp/gitlab-ce:variables_in_events into master

What does this MR do?

Add variables on pipeline webhook

Are there points in the code the reviewer needs to double check?

This is a pretty simple one liner

Why was this MR needed?

Pipeline variables are useful to create custom parametrised pipelines.

Variables can be used to track the purpose of a particular pipeline, and/or link to another higher level automatisation tool.

It is thus useful to get the list of variables in pipeline update events.

Variables are also not available in pipeline API: https://docs.gitlab.com/ee/api/pipelines.html#get-a-single-pipeline

There should be there as well, but this is another MR.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#28105 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports