Variables in outgoing notification webhook URL #31980
Unanswered
bared-dave
asked this question in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are using an outgoing notification URL to trigger a Gitlab pipeline. Gitlab's webhook URLs follow the format:
https://gitlab.com/api/v4/projects/16749574/ref/{branch}/trigger/pipeline
Is it/would it be possible to include the name of the branch being deployed/built in that notification URL using a variable of some kind? At the moment we've just hardcoded it to the destination branch for each of our build profiles, but it would be nice for the pipeline to be triggered on the source branch rather than the destination branch for merge request builds.
Cheers,
David Johnson
Head of Engineering
Bared Footwear
https://bared.com.au
Beta Was this translation helpful? Give feedback.
All reactions