Troubleshooting Subversion
Bamboo Subversion compatibility
SVNKit version: | subversion working copy format | Bamboo Release Version |
---|---|---|
1.1.x | supports Subversion working copies <= 1.4 | Bamboo 2.1.3 or below |
1.2.x | supports Subversion working copies <= 1.5 | Bamboo 2.1.4 |
1.3.x | supports Subversion working copies <= 1.6 | Bamboo 2.3.1 |
1.8.6 | supports Subversion working copies <= 1.8 1.7 and 1.8 are slow; one should use override | Bamboo 5.6.0 |
All versions of the Subversion server are backward compatible. You can run any version of the Subversion server with any version of bamboo/SVNKit.
注意事項
- Any version of SVNKit on the client side will work with Subversion server 1.5 (both older and newer ones). However, newer 1.5 features are not be supported.
- SVNKit 1.1.x will not work with local repository (over file:// protocol) that was created with Subversion 1.5 or newer.
Debugging Subversion connection in Bamboo
To debug your SVN connection, it is useful to enable logging. Modify the system property while launching the Java VM with:
$java -Djava.util.logging.config.file=path/to/logging.properties.disabled
これを行うには、次のようにします。
Local Agents
- Download the logging.properties.disabled file, the
logging.properties.disabled
file contains a system propertysvnkit.level
used to control the log level:- FINE (default) — the level for non-detailed logging
- FINER — the level for more detailed logging
- FINEST — the level for full logging
- Configure Bamboo to start with the
-Djava.util.logging.config.file=*path/to/*logging.properties.disabled
command, where "path/to/
" refers to the absolute path to thelogging.properties.disabled
file from step (1) as per instructions here. - Save your changes, and restart Bamboo for your changes to take effect.
- You will find the
SVNKit
log file inUSER_HOME/svnkit.0.log
(whereUSER_HOME
is the home directory of the user running Bamboo or logged in e.g:/home/user/svnkit.0.log
).
Remote Agents
- Download the logging.properties.disabled file attached to this document.
To debug the
SVNKit
component in Remote Agents, you will need to run the Agent without its Supervisor ('Classic' mode). After downloading the classic Agent, run the following command:java -jar -Djava.util.logging.config.file=logging.properties.disabled bamboo-agent-2.5.jar http://bamboo_server_hostname:8085/agentServer/
- Run the build that will use the Remote Agent.
- You will find the
SVNKit
log file inUSER_HOME/svnkit.0.log
(whereUSER_HOME
is the home directory of the user running Bamboo or logged in e.g:/home/user/svnkit.0.log
).