0

我对竹子弹性代理的竹子神器插件有疑问。构建失败并出现错误:

Could not execute task  no Plugin with key 'org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task' is installed.

硬件上的 Bamboo 代理成功运行相同的构建。我使用 Bamboo 7.2 版、bamboo-artifactory-plugin 3.2.1 版和 JFrog Artifactory 6.18.1 版

4

1 回答 1

4

看起来,该插件未安装在您的代理上。这可能由于许多原因而发生。请尝试重新安装插件并检查代理的日志。

例如,一个可能的原因是代理内存不足。如果您看到以下错误:

INFO | jvm 1 | 2020/11/10 11:12:36 | 2020-11-10 11:12:36,120 ERROR [remoteEventRebroadcasterMessageListenerContainer-1] [ScanningPluginLoader] Unable to deploy plugin 'org.jfrog.bamboo.bamboo-artifactory-plugin' from 'Unit: /Users/yahavi/bamboo-agent-home/plugins/user-installed/plugin_8527020839401694412_bamboo-artifactory-plugin-3.1.0.jar (1604999532000)'.
INFO | jvm 1 | 2020/11/10 11:12:36 | 2020-11-10 11:12:36,121 ERROR [remoteEventRebroadcasterMessageListenerContainer-1] [ScanningPluginLoader] Because of the following exception:
INFO | jvm 1 | 2020/11/10 11:12:36 | java.lang.OutOfMemoryError: GC overhead limit exceeded

这意味着您的代理没有足够的堆大小。我推荐本指南中的解决方案:https ://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-server-or-in-remote-agent-307038120.html

编辑:对于弹性代理,您可以使用本指南: https ://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-elastic-agent-826899144.html

于 2021-05-12T13:32:05.837 回答