jenkinsci / jenkinsci/branch-api-plugin
[JENKINS-57860] Optionally allow for idempotent handling of SCMEvents
- Dominant language
- Java
- Stars
- 39
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Related to: https://issues.jenkins-ci.org/browse/JENKINS-57014
GitHub Conversation: https://github.com/jenkinsci/github-branch-source-plugin/pull/216
When GitHub publishes an event for a Deployment, the revision in the event payload is the same as the revision in the push event payload. Thus, the below line of code will not execute a pipeline upon receiving the deployment webhook. We would like the ability to optionally toggle on/off handling SCMEvents in an idempotent manner.
---
Originally reported by philmadden, imported from: Optionally allow for idempotent handling of SCMEvents
Raw content of original issue
Related to: https://issues.jenkins-ci.org/browse/JENKINS-57014
GitHub Conversation: https://github.com/jenkinsci/github-branch-source-plugin/pull/216When GitHub publishes an event for a Deployment, the revision in the event payload is the same as the revision in the push event payload. Thus, the below line of code will not execute a pipeline upon receiving the deployment webhook. We would like the ability to optionally toggle on/off handling SCMEvents in an idempotent manner.
Contributor guide
Research direction
Start at src/main/java/jenkins/branch/MultiBranchProject.java around line 1546, then review the related JENKINS-57014 issue and the GitHub conversation in pull request #216. Determine how an optional idempotent SCMEvent-handling mode should be exposed and verify that deployment events with the same revision as push events are handled as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100