我对竹子弹性剂的竹制插件有个问题。生成失败时出错:
Could not execute task no Plugin with key 'org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task' is installed.在硬件上的竹代理成功运行相同的构建。我使用的是竹版本7.2、竹-工件-插件版本3.2.1和JFrog Artifactory版本6.18.1。
发布于 2021-05-12 13:32:05
看起来,插件并没有安装在您的代理上。这可能是由于许多原因造成的。请尝试重新安装插件并检查代理的日志。
例如,一个可能的原因是代理中缺少内存。如果您看到错误,如:
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
https://stackoverflow.com/questions/67504380
复制相似问题