Skip to content

Commit 294c9fc

Browse files
Merge pull request #376 from checkmarx-ltd/develop
pr-CXFLW-916-scan-with-settings
2 parents c759667 + fdf34c0 commit 294c9fc

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
</parent>
1111
<groupId>com.github.checkmarx-ltd</groupId>
1212
<artifactId>cx-spring-boot-sdk</artifactId>
13+
<version>0.5.71</version>
1314

14-
<version>0.5.70</version>
1515
<name>cx-spring-boot-sdk</name>
1616
<description>Checkmarx Java Spring Boot SDK</description>
1717
<properties>

src/main/java/com/checkmarx/sdk/service/CxService.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,14 +2188,8 @@ public Integer createScan(CxScanParams params, String comment) throws CheckmarxE
21882188
Integer projectId = determineProjectId(params, teamId);
21892189
boolean projectExistedBeforeScan = !projectId.equals(UNKNOWN_INT);
21902190
Integer baseProjectId = UNKNOWN_INT;
2191-
//preserving settings
2192-
Gitremotemain gitremotemainObj = getGitRepoDetails(projectId);
2193-
Customremotemain customremotemainObj = getCustomRepoDetails(projectId);
2194-
Perforceremotemain perforceremotemainObj = getPerforceRepoDetails(projectId);
2195-
Sharedremotemain sharedremotemainObj = getSharedRepoDetails(projectId);
2196-
Svnremotemain svnremotemainObj = getSvnRepoDetails(projectId);
2197-
Tfsremotemain tfsremotemainObj = getTfsRepoDetails(projectId);
2198-
ExcludeSettingsmain excludeSettingsmainObj = getExcludeSettingsDetails(projectId);
2191+
2192+
21992193

22002194
if (!projectExistedBeforeScan) {
22012195
/*
@@ -2378,8 +2372,14 @@ public Integer createScan(CxScanParams params, String comment) throws CheckmarxE
23782372
}
23792373

23802374

2381-
2382-
2375+
//preserving settings
2376+
Gitremotemain gitremotemainObj = getGitRepoDetails(projectId);
2377+
Customremotemain customremotemainObj = getCustomRepoDetails(projectId);
2378+
Perforceremotemain perforceremotemainObj = getPerforceRepoDetails(projectId);
2379+
Sharedremotemain sharedremotemainObj = getSharedRepoDetails(projectId);
2380+
Svnremotemain svnremotemainObj = getSvnRepoDetails(projectId);
2381+
Tfsremotemain tfsremotemainObj = getTfsRepoDetails(projectId);
2382+
ExcludeSettingsmain excludeSettingsmainObj = getExcludeSettingsDetails(projectId);
23832383
prepareSources(params, projectId);
23842384
//Setting Remembered Git Settings
23852385
if (gitremotemainObj != null) {

0 commit comments

Comments
 (0)