Bamboo-artifactory 插件在 elactic agent 上不起作用

问题描述

我在竹弹性剂处使用竹制品插件有问题。构建失败并出现错误

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