TeamCity CheckMarx插件:达到200 MB的最大上传大小限制

时间:2018-08-28 09:17:01

标签: teamcity devops checkmarx

我已经在TeamCity上集成了CheckMarx插件作为构建步骤,并尝试在项目的Commit步骤下执行该构建步骤。但是,它失败并显示以下错误:

    [Step 7/7] Unexpected exception: Reached maximum upload size limit of 200 MB
    [Step 7/7] java.io.IOException: Reached maximum upload size limit of 200 MB
at com.checkmarx.teamcity.agent.CxZip.zipWorkspaceFolder(CxZip.java:52)
at com.checkmarx.teamcity.agent.CxBuildProcess.zipWorkspaceFolder(CxBuildProcess.java:239)
at com.checkmarx.teamcity.agent.CxBuildProcess.createScan(CxBuildProcess.java:218)
at com.checkmarx.teamcity.agent.CxBuildProcess.call(CxBuildProcess.java:111)
at com.checkmarx.teamcity.agent.CxBuildProcess.call(CxBuildProcess.java:39)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
    [Step 7/7] java.util.concurrent.ExecutionException: jetbrains.buildServer.RunBuildException: java.io.IOException: Reached maximum upload size limit of 200 MB

请建议我们如何更新(增加)上传大小限制?

非常感谢!

2 个答案:

答案 0 :(得分:0)

转到管理-> 全局设置

设置最大构建工件文件大小:更大

enter image description here

答案 1 :(得分:0)

Checkmarx IIS服务器的限制为200 MB,因此您还需要更改它。还有一件可能有用的事情是,排除Checkmarx无法像Checkmarx-TC步骤中的任何已编译代码一样扫描的目录/文件。