Read webhook payload in Gitlab CI
问题 I have a project ( PROJECT_A ) that is triggered through a webhook, and expects the variable $PRODUCT to be set. Its value is used to trigger a certain path in the build. The job in the .gitlab-ci.yml file looks like this: deploy: stage: publish script: - ./generate_doc.sh $PRODUCT A webhook call looks like this: http://<GITLAB_URL>/api/v4/projects/710/ref/master/trigger/pipeline?token=<TOKEN>&variables[PRODUCT]=<PRODUCT> I call this trigger through a webhook from other projects, including