Describe the bug
I have github webhook configured for branch deletion events and a multibranch pipeline job configured for the git repo. I have a jenkins job that just says "Hello world" and I set it under "Pipeline Delete Event" for the multibranch pipeline job. When I delete the branch, indeed the multibranch pipeline job shows the branch name crossed out. However, the "Hello world" job is not triggered. Even if I manually delete the job after the branch is deleted, the job is not triggered. I also note the same problem for "Pipeline Create Event." I set the same job trigger and it doesn't get triggered upon pipeline creation.
To Reproduce
Steps to reproduce the behavior:
Create a simple Hello World pipeline.
On multibranch pipeline, add that job under "Pipeline Delete Event"
Ensure github webhook sends delete hooks
Delete the branch, note that it gets crossed out, but the Hello world job is not trigger
Expected behavior
The job should trigger on branch deletion.
Describe the bug I have github webhook configured for branch deletion events and a multibranch pipeline job configured for the git repo. I have a jenkins job that just says "Hello world" and I set it under "Pipeline Delete Event" for the multibranch pipeline job. When I delete the branch, indeed the multibranch pipeline job shows the branch name crossed out. However, the "Hello world" job is not triggered. Even if I manually delete the job after the branch is deleted, the job is not triggered. I also note the same problem for "Pipeline Create Event." I set the same job trigger and it doesn't get triggered upon pipeline creation.
To Reproduce Steps to reproduce the behavior:
Expected behavior The job should trigger on branch deletion.
Jenkins version 2.356