Bamboo-artifactory 插件在 elactic 代理中不起作用
Bamboo-artifactory plugin dosen't work at elactic agent
我在 bamboo elastic-agent 遇到 bamboo-artifactory-plugin 的问题。构建失败并出现错误:
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 版
看起来,您的代理上没有安装该插件。这可能由于多种原因而发生。请尝试重新安装插件并检查代理的日志。
例如,一种可能的原因是代理内存不足。如果您看到如下错误:
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
编辑:
对于 Elastic 代理,您可以使用本指南:
https://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-elastic-agent-826899144.html
我在 bamboo elastic-agent 遇到 bamboo-artifactory-plugin 的问题。构建失败并出现错误:
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 版
看起来,您的代理上没有安装该插件。这可能由于多种原因而发生。请尝试重新安装插件并检查代理的日志。
例如,一种可能的原因是代理内存不足。如果您看到如下错误:
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
编辑: 对于 Elastic 代理,您可以使用本指南: https://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-elastic-agent-826899144.html