Skip to content

Commit 9d4eaeb

Browse files
committed
modified zip file size to 2,147,483,647 which is 2^31-1. this allows a zip file larger than 200mb to be uploaded to the checkmarx server.
1 parent eca6e1d commit 9d4eaeb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/com/checkmarx/jenkins/CxConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class CxConfig {
2424
configuration.loadFromXML(inputStream);
2525
inputStream.close();
2626
} catch (Exception e) {
27-
configuration.setProperty(CONFIGURATION_MAX_ZIP_SIZE_KEY, "209715200");
27+
configuration.setProperty(CONFIGURATION_MAX_ZIP_SIZE_KEY, "2147483647");
2828
}
2929
}
3030

src/main/resources/com/checkmarx/jenkins/cxconfig.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
33
<properties>
4-
<entry key="MaxZipSizeBytes">209715200</entry>
4+
<entry key="MaxZipSizeBytes">2147483647</entry>
55
<entry key="DefaultFilterPattern">
66
!**/_cvs/**/*, !**/.svn/**/*, !**/.hg/**/*, !**/.git/**/*, !**/.bzr/**/*, !**/bin/**/*,
77
!**/obj/**/*, !**/backup/**/*, !**/.idea/**/*, !**/*.DS_Store, !**/*.ipr, !**/*.iws,
@@ -18,4 +18,4 @@
1818
<entry key="ServerCallRetryNumber">5</entry>
1919
<!-- requestTimeOutDuration is in seconds -->
2020
<entry key="RequestTimeOutDurationSec">60</entry>
21-
</properties>
21+
</properties>

0 commit comments

Comments
 (0)