Name |
Mercurial plugin |
---|---|
Version |
0.2.1, 2.0 |
Product Versions |
1.2.2+, 2.0b8 |
Author(s) |
|
Homepage |
|
Price |
Free |
License |
|
JavaDocs |
|
IssueTracking |
|
Subversion URL |
|
Download JAR |
For 1.2.x bamboo-hg-plugin-0.2.1.jar |
Download Source |
For 1.2.x bamboo-hg-plugin-src-0.2.1.tar.gz |
Bitbucket.org source repository: |
http://bitbucket.org/verveguy/bamboo-hg/ |
Conary Package |
coming soon |
NOTE: Cloned source tree to bitbucket.org to better facilitate collaborative development.
See http://bitbucket.org/verveguy/bamboo-hg/
Description/Features
Mercurial repository integration for Bamboo
Usage
- Copy the appropriate jar file into your <BAMBOO_HOME>/webapp/WEB-INF/lib directory and restart Bamboo
- In the configuration of your plan, there should be a new Mercurial option in the 'Repository Configuration' tab. Parameters are similiar to other repositories.
- That should be it.
Notes
Mercurial clone operation to populate the local copy requires that the directory into which the clone is being made NOT exist. However, Bamboo has already created the plan's build-dir before repo called. Hence, this plugin gets Mercurial to clone into a new hg/ subdirectory. The gotcha is that your Builder then needs to have hg/ set as your Working Directory.
SSH repository access is not yet supported. HTTP works just fine and should be adequate for most environments.
WebURL integration is only supported with the Bamboo 2.0 version. If you set up the Web Repository URL configuration when configuring your plan, two integrations are supported:
- the standard "Show details changes" where you can click to see each file diff in the change as well as view the whole file
- every changelog summary on the build summary page will have a clickable link to view the changeset on the web
Screenshots
Screenshots |
---|
![]() |
Screenshot
|
JIRA Issues
Version History
Version |
Date |
Description |
---|---|---|
2.2 |
2 September 2009 |
Dmitriy Akishin updated code for Bamboo 2.2. and provided new jar |
2.0 |
6 August 2009 |
Cloned source tree to bitbucket.org for better collaboration |
2.0 |
4 April 2008 |
Initial release for Bamboo 2.0b8 |
0.2.1 |
6 September 2007 |
Fixed off-by-one bug in changelog reporting |
0.1.0 |
30 August 2007 |
initial version |
7 Comments
AjayA
Great stuff Brett!
Brett Adam
There's a few improvements I've made recently that I'll try to publish via subversion over Christmas
Brett Adam
So, I have updated this for Bamboo 2.0b8 and it seems to be working fine. Trying to get the source into the atlassian subversion repository...
Brett Adam
Source published to subversion repo
Ryan Gilmour
I'm getting the following error when trying to checkout code:
java.lang.NoSuchMethodError: com.atlassian.bamboo.command.Command.executeCommand(Lcom/atlassian/bamboo/command/CommandExecuteStreamHandler;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/atlassian/bamboo/v2/build/agent/capability/ReadOnlyCapabilitySet;)I
at com.rpath.bamboo.plugins.repository.AbstractMercurialCommand.executeCommand(AbstractMercurialCommand.java:79)
at com.rpath.bamboo.plugins.repository.AbstractMercurialCommand.executeCommand(AbstractMercurialCommand.java:128)
at com.rpath.bamboo.plugins.repository.MercurialRepository.retrieveSourceCode(MercurialRepository.java:465)
at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:100)
...
This is only a problem with Bamboo 2.2 (Bamboo 2.1.4 works fine).
Has there perhaps been a change to the APIs which has broken this plugin?
Thanks in advance!
Brett Adam
The code hasn't been updated for 2.2 yet. Hopefully, someone else has some time to do this soon!
Brett Adam
Dmitriy Akishin has apparently cracked the nut on Bamboo 2.2 migration for this plugin.
I've cloned the source tree to bitbucket.org to facilitate easier collaboration. Once I know that his changes are up there, I'll pull them across to the Atlassian hosted svn repo as well.
http://bitbucket.org/verveguy/bamboo-hg/