Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4953

Closed
Open
Created Aug 30, 2013 by Administrator@rootOwner

Webhook only notifies about a single branch when multiple branches have changed

Created by: sbussetti

Simple use case:

I modify a working branch. I then merge that branch into a main deploy branch that my CI system knows about. I push, sending the updates for both branches.

Gitlab triggers my webhook, however it only tells my CI system about one changed branch. In other words, if I have a single commit affecting multiple branches, sometimes Gitlab only tells my CI system about the working, source branch, and sometimes it tells my system about the build, target branch.

This seems to be new behavior that appeared around late 5.x or early 6.x. Can provide log output etc if desired.

Previously gitlab would notify a much longer commit history to the webhook and therefore would tell my CI system about multiple changed branches on the same repo.

Assignee
Assign to
Time tracking