Remove duplicate Jenkins push trigger - #6166
Open
JP0P wants to merge 1 commit into
Open
Conversation
JP0P
marked this pull request as draft
August 19, 2026 02:27
JP0P
force-pushed
the
codex/remove-duplicate-jenkins-trigger
branch
from
August 19, 2026 21:07
b7f1ba3 to
5cc6634
Compare
JP0P
marked this pull request as ready for review
August 19, 2026 21:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the redundant
githubPush()trigger from the multibranch Jenkins pipeline.Why
GitHub Branch Source already handles repository push events for this multibranch pipeline. The declarative
githubPush()block persists a second, generic GitHub push trigger on each child job, adding a repository-wide SCM-polling path alongside Branch Source.This is a known source of build amplification. Builds #160 and #161 both built commit
7795512, and Jenkins attempted to queue anothertestMaestrobuild while #166 was running. Historical incidents with more than two duplicates may include additional webhook, indexing, replay, or queue causes; this PR removes one redundant trigger path but does not claim comprehensive deduplication.disableConcurrentBuilds()remains enabled. It prevents simultaneous execution of the same child job, but duplicate requests may still remain queued.Risk
Low. The final diff only removes three lines of Jenkins trigger configuration.
disableConcurrentBuilds()remain unchanged.Both trigger mechanisms use Jenkins'
/github-webhook/endpoint, sogithubPush()is not an independent delivery fallback. Any duplicate or missing webhook-delivery investigation is separate from removing this redundant scheduling path.Validation
GitHubPushTrigger.testMaestrojob configuration contains no generic GitHub push trigger.Children that have not executed the updated Jenkinsfile may retain the old persisted trigger, and replaying a pre-change build can restore it.