I can do this using a plugin for BitBucket servers, but not for the cloud?
Hi Jóhann! You can't do that for Cloud, but the branch name will be in the payload.
$payload comes as blank in the Jenkins pipeline groovy, is there any thing that needs to be done to get it ? I am trying to get the reference to the branch , atleast branch name
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.