-
New Feature
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.332.1
Atlassian Bitbucket v8.5.1
Bitbucket Server Integration 3.3.2
I have a multibranch pipeline setup with a Bitbucket server's repository with "Scan Multibranch Pipeline Triggers".
For that, a webhook is automatically created in Bitbucket.
Any push/pull request, branch builds are getting triggered also.
Now I want to preform extra steps if the event is a Pull Request.
For that, I'll need to read the Request Header/payload sent from Bitbucket.
Is there any way to read/print it in Jenkins build logs?
Multibranch -pipeline event logs:
I can see the payloads & X-Event-Key(Request header) are getting sent from autogenerated webhook, but cannot find a way to read it.