Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can i use the payload in jenkins?

Rubén Darío Carrera del Castillo December 17, 2018

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!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events