jfrog / bamboo-artifactory-plugin

Atlassian Bamboo plugin that enables traceable build artifacts with Artifactory
https://plugins.atlassian.com/plugin/details/27818
Apache License 2.0
42 stars 56 forks source link

Error with Bamboo Artifactory / JFrog Plugin #173

Open Nagaraju3339 opened 2 years ago

Nagaraju3339 commented 2 years ago

I have a Bamboo plan that includes an Artifactory Publish Build Info task.

This plan is failing with following error: no Plugin with key 'org.jfrog.bamboo.bamboo-artifactory-plugin:artifactoryPublishBuildInfoTask' is installed.

However, someone from my team had a look on the Bamboo server, and noticed that it appears that the actual plugin installed is an older version, as /bamboo/bin/atlassian-bamboo-6.10.6/atlassian-bamboo/WEB-INF/lib/ contains bamboo-artifactory-plugin-1.13.0.jar. They also said, "Looks to me like the steps mentioned in the following confluence page (http://confluence.ucas.ac.uk/display/AWSSS/Upgrade+Atlassian+Suite) are being followed religiously and probably need some updating as this page (https://www.jfrog.com/confluence/display/JFROG/Bamboo+Artifactory+Plug-in) states that v1.13.0 isn’t for our version of bamboo. "

Bamboo version:6.10.6 Plugin:Bamboo/artifactory plugin 3.0.1

yahavi commented 2 years ago

@Nagaraju3339, Thanks for reporting this issue!

As it looks, the plugin is not installed on your agent. This may occur due to many reasons. Please try to reinstall the plugin and check the agent's logs.

For example, one possible reason is the lack of memory in the agent. If you see errors such as:

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

That means your agent has insufficient heap size. I'd recommend the resolution in this guide: https://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-server-or-in-remote-agent-307038120.html

Please let me know if it helped.