Multibranch Pipeline is not triggered when a PR is created
MorgeMoensch opened this issue · comments
Hello, thanks for the cool plugin!
What I would like to do:
- Run Pipeline on PR opened
- Run Pipeline on PR updated with commits
What doesn't work:
A new multibranch-pipeline isn't initiated when I open a Pull Request. The Webhook from Bitbucket Server works
And From Manage Jenkins > System Log > All Logs I can see that it is received successfully:
However, no new pipeline gets created. When I trigger 'Scan Multibranch Pipeline Now' via the Jenkins UI, it shows up and gets run. However, the result is not propagated back to the Bitbucket PR as it is with the PR Updated triggers.
I would be okay with automatically scanning the multibranch pipeline every x minutes, but I would need the pipeline results to be propagated to the PR.
Does anyone have an idea what I'm missing here?
Below is the configuration from my Jenkinsfile:
properties([
pipelineTriggers([
[
$class: 'BitBucketPPRTrigger',
triggers : [
[
$class: 'BitBucketPPRPullRequestServerTriggerFilter',
actionFilter: [
$class: 'BitBucketPPRPullRequestServerCreatedActionFilter',
]
],
[
$class: 'BitBucketPPRPullRequestServerTriggerFilter',
actionFilter: [
$class: 'BitBucketPPRPullRequestServerSourceUpdatedActionFilter',
]
]
]
]
])
])