Archive for the tagger plugin Category

Ctrl-C and Ctrl-V suck

Posted in tagger plugin on October 23, 2008 by Ross Rowe

Well, no sooner had I released version 1.0.5 of the Tagger plugin did someone find a critical defect. Unfortunately, 2 instances of the comment text field had made their way into the configuration page, so when the config was saved, an ArrayList was stored instead of a String. And because Bamboo was expecting only Strings to be present, a nasty ClassCastException occurred.

Happily, this should now be fixed in version 1.0.6…

Advertisements

Updates to the Bamboo Tagger plugin

Posted in bamboo, tagger plugin on October 23, 2008 by Ross Rowe

I’ve made a couple of modifications to the Tagger Plugin in the last couple of days.

Firstly, I updated the plugin to allow the customization of the comment text used for the Subversion tags…previously it was hard coded to ‘Automatic copy from Bamboo’, but the text can now be specified on a plan’s configuration. You can also use replacement parameters so that the jira issues or original Subversion commit comments can be included in the tag commit comments.

I also updated the CVS component of the plugin to use either ‘rtag’ or ‘tag’ – previously it was just using ‘rtag’.

I’ve also done some more work on the integration tests for the plugin. I’m using the integration testing functionality provided by the Atlassian PDK, which deploys the plugin to a local instance of Bamboo, and I’ve got a test that uses JWebUnit to programatically click links. At the moment, the test is only verifying that the UI components included in the plugin exist.