Pipeline event webhook does not always contains variables

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

Pipeline webhook event seems to define a field object_attributes.variables, but the only time it is different of [] is on manual pipeline from the user interface, and only contains the additional variables set by the user.

I would like to propose to dump all non-protected and non-masked variables into object_attributes.variables, at least:

  • project settings "CI/CD Variables"
  • manual variables added by user trigger
  • added variables throught scheduler

Thanks

Edited by 🤖 GitLab Bot 🤖