Page MenuHomePhorge

How to trigger build plan on GIT branch update?
OpenPublic

Asked by branek on Oct 5 2023, 11:59.

Details

Hello,

We have a next workflow for the device firmware project:

  • Do all development on device_develop branch of the repository (arc usage).
  • Once satisfied, merge device_develop into device_testing (--ff-only) and push.
  • Once all tests pass (automated and manual as device is specific) merge device_testing into device_stable (--ff-only) and push.

The problem is that we are not able to trigger build plan in harbormaster when we use git merge --ff-only on device_develop as there is no new commit to that branch, only refs update.

Any suggestion how to run build plan when specific branch change has occured?

New Answer