maven - Bamboo-artifactory 插件在 elactic 代理中不起作用
问题描述
我对竹子弹性代理的竹子神器插件有疑问。构建失败并出现错误:
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
编辑:对于弹性代理,您可以使用本指南: https ://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-elastic-agent-826899144.html
推荐阅读
- azure - 如何在 Azure CDN 端点中使用源类型?
- javascript - 条件 axios 调用 Vue 切换状态
- string - 如何在 Bash 中将文件重命名为 param-case
- javascript - 如何在圆的两点之间画一条线
- amcharts - 在amcharts 4中动态更改图表的标题
- django - axios Post 请求返回空响应
- javascript - 如何摆脱数组中的重复项及其原始项
- amazon-web-services - 在 AWS 上运行具有不同标志的相同 Docker 映像并保存结果
- python - 读取大字符串并拆分每个单词在python中花费太多时间
- android - 如何防止 Android Telnet 客户端会话丢失