When a push is made to a non-root protected branch using Bitbucket cloud, BitBucket server with native webhooks, or BitBucket server with Postwebhooks, a "root" project is created with a malformed name.
Expected Behavior
The "root" project name should have the correct branch name, as is observed when using GitHub, ADO, or GitLab:
Actual Behavior
The root project name is malformed; it omits the root branch name:
Reproduction
Ensure there are no projects that match the name of the projects that are to be created with CxFlow.
Create a branch named "demo-master" from the root branch in a repo.
Description
When a push is made to a non-root protected branch using Bitbucket cloud, BitBucket server with native webhooks, or BitBucket server with Postwebhooks, a "root" project is created with a malformed name.
Expected Behavior
The "root" project name should have the correct branch name, as is observed when using GitHub, ADO, or GitLab:
Actual Behavior
The root project name is malformed; it omits the root branch name:
Reproduction
Ensure there are no projects that match the name of the projects that are to be created with CxFlow.
Create a branch named "demo-master" from the root branch in a repo.
Commit a config as code file to demo-master like:
Observe that the project created is malformed, similar to:
Environment Details
CxFlow 1.6.35 BitBucket server with Postwebhooks and/or native webhooks BitBucket cloud