checkmarx-ltd / cx-flow

Checkmarx Scan and Result Orchestration
Apache License 2.0
88 stars 87 forks source link

Added support for branches in GitLab CI template #1375

Closed FlorentinLedy closed 2 months ago

FlorentinLedy commented 2 months ago

Description

Added branch support in Checkmarx within a GitLab pipeline template. This enhancement enables branch support from Cx-Flow by utilizing GitLab environment variables to automatically detect whether we are on the master branch or a feature branch. Consequently, it creates a corresponding branch project or a basic project accordingly.

References

N/A

Testing

I verified that when we are on the default branch, it correctly creates a "normal" project. I tested the branch creation. I tested branch names with special characters, which are correctly supported.

Checklist

AvivCx commented 2 months ago

Logo Checkmarx One – Scan Summary & Details1841d04d-1f30-4306-83b5-681bef12f736

No New Or Fixed Issues Found

satyamchaurasiapersistent commented 2 months ago

Hi Thanks for your contribution merging PR.