0

我们面临以下错误

[install4j] Creating media file 'Windows':
[install4j] enter code here`Created media file output directory 

[install4j] Dec 18, 2021 2:53:08 PM java.util.prefs.FileSystemPreferences$1 run
[install4j] INFO: Created user preferences directory.
[install4j] Dec 18, 2021 2:53:08 PM java.util.prefs.FileSystemPreferences$2 run
[install4j] INFO: Created system preferences directory in java.home.
[install4j] install4j: compilation failed. Reason: error during counter signing

仅当我一次触发多个 CI jenkins 作业(最少 7 个)并尝试了 jenkinsfile 中的以下选项时才会出现此问题

-J-Dinstall4j.counterSignRetry=60
-J-Dinstall4j.connectTimeout=20000
-J-Dinstall4j.readTimeout=20000
4

1 回答 1

0

最后,通过 JVM 选项 -Dinstall4j.connectTimeout=25000 解决了歌手间歇性连接问题,我们可以一次运行 15 个作业而不会失败

于 2021-12-30T15:56:10.637 回答