I want to parse bitbucket payload data in Jenkins declarative pipeline. But bitbucket doesn’t exposes payload in declarative pipeline. Multibranch pipeline is getting triggered because of web hook but payload data is not available inside Jenkins. How can I have this payload data using python?
Is there any clean way?
BTW, we cannot go with freestyle Jenkins job.