[研究]Jenkins + Fortify SCA 出現 Build timed out 問題之解決
2025-01-13
經過時間 01:15:56.34
Fortify Static Code Analyzer 24.4.0.0114 (using JRE 17.0.11)
Modules:
.NET Frontend 24.4.0.0114
.NET and ASP.NET Translators 24.4.0.0114
AngularJS Translator Utils 24.4.0.0114
Apex Translator 24.4.0.0114
C/C++ Translator (CTran) 24.4.0.0012
COBOL Translator 83
Flight release_24.4.0!08319_95f4d1f5ca557+00127_9676a526c99e2
Go Translator 24.4.0.0114 HEAD
Kotlin Translator 24.4.0.0114
Legacy Apex Translator 24.4.0.0114
Legacy Translators 24.4.0.0114
MSBuild Plugin 24.4.0.0114
Modified Rhino 24.4.0.0114
PHP Translator 24.4.0.0114
Python Translator 24.4.0.0114
SCA Backend 24.4.0.0114
SCA Frontend 24.4.0.0114
SCA Platform 24.4.0.0114
Analyzing 7351 source file(s)
Build timed out (after 90 minutes). Marking the build as aborted.
[build-timeout] Global time out activated
建置已中斷
(下圖)新安裝的 Jenkins
解決方法
* 把 Enable Global Time Out 的打勾取消 (預設是沒限制的),或把目前設定的 90 分鐘加大。
* 提升硬體效能,增加 CPU、增加 RAM、增加剩餘硬碟空間、、、等。
* Forfify SCA 建議的 RAM 是 32 GB。
(完)