Hi,
I 've a default job where I compile docker images, I want to configure the webhook of my repository pointed to this default job, but I don't know how to get the payload data to reference the repository & branch name.
I notice the bitbucket plugin integration search the repository name in jenkins to execute this job, but my job is shared between all repository with a default name called docker-build.
With gitlab I've something like this:
// git branch: env.gitlabTargetBranch,
// url: env.gitlabSourceRepoURL
Thanks!