Understood---We're using the Jenkins plugin w/ Git and TFS projects. However, there is an open-issue here if the Checkmarx project is set to "Source Control." What happens if I configure Jenkins to point to a specific repository, but the Checkmarx project is set to Source Control? Will the Jenkins files be overwritten? I would suggest a solution among the following:
When .SrcCodeSettings.SourceOrigin == SourceLocationType.SourceControl:
1. Provide an error message and stop to avoid any contention.
2. Provide a warning message and ignore files in Jenkins workspace (because Checkmarx will already pull them). Instead of uploading the Checkmarx, just start the scan.
Does that make sense?