Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Th3R3p0 committed Sep 1, 2016
1 parent eca6e1d commit 9d4eaeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/checkmarx/jenkins/CxConfig.java
Expand Up @@ -24,7 +24,7 @@ public class CxConfig {
configuration.loadFromXML(inputStream);
inputStream.close();
} catch (Exception e) {
configuration.setProperty(CONFIGURATION_MAX_ZIP_SIZE_KEY, "209715200");
configuration.setProperty(CONFIGURATION_MAX_ZIP_SIZE_KEY, "2147483647");
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/com/checkmarx/jenkins/cxconfig.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="MaxZipSizeBytes">209715200</entry>
<entry key="MaxZipSizeBytes">2147483647</entry>
<entry key="DefaultFilterPattern">
!**/_cvs/**/*, !**/.svn/**/*, !**/.hg/**/*, !**/.git/**/*, !**/.bzr/**/*, !**/bin/**/*,
!**/obj/**/*, !**/backup/**/*, !**/.idea/**/*, !**/*.DS_Store, !**/*.ipr, !**/*.iws,
Expand All @@ -18,4 +18,4 @@
<entry key="ServerCallRetryNumber">5</entry>
<!-- requestTimeOutDuration is in seconds -->
<entry key="RequestTimeOutDurationSec">60</entry>
</properties>
</properties>

0 comments on commit 9d4eaeb

Please sign in to comment.