SVN checkout takes too long after Upgrading Bamboo to 4.2
症状
Subversion checkouts started to take too long after upgrading Bamboo instance to 4.2.x (or any other later version 4.3.x, 4.4.x). The SVN checkout from command and from Bamboo's Script task work as expected. However, when using Source Code Checkout task, the checkout takes about 10 times longer.
原因
With Bamboo versions starting from 4.2 we ship <Bamboo_Install>/webapp/WEB-INF/lib/jna-3.4.0.jar
library, which causes the slowness for some specific environments (Operating System distributions).
ソリューション
If you experience the SVN checkout slowness right after upgrading your Bamboo instance to 4.2.x or a later version, please do the following by using this attached jna-3.3.0.jar file:
- If the slowness happens to a remote agent, shut down your remote agent, exchange the existing
<Agent_Home>/classpath/jna-3.4.0.jar
file with the above attachedjna-3.3.0.jar
file. - If the slowness happens to local agents (Bamboo server itself), shut down your Bamboo instance, exchange the existing
<Bamboo_Install>/webapp/WEB-INF/lib/jna-3.4.0.jar
with the attachedjna-3.3.0.jar
file.
Please move the original jna-3.4.0.jar
file out of the <Bamboo_Install>
(or <Agent_Home>
) directory to avoid possible conflicts.
The slowness might also be related to using an unsupported JDK (IBM), so make sure that you are using a supported JDK - Supported platforms.