In the past I developed a Bamboo plugin that works with an SVN repository. For example, I got an instance of com.atlassian.bamboo.repository.svn.SvnRepository through (SvnRepository) buildContext.getRepositoryDefinitions().getRepository().
In the 5.14 API much of this has changed. Now I'm confused and I also need to add support for a Git repository.
How can I get from a PlanRepositoryDefinition to a SVN repository and to a Git repository object?
Also, how can I check what type of repository I'm dealing with, given a PlanRepositoryDefinition object?
Some code snippets would be highly appreciated.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A note to all watchers that we've moved to a new community home... https://community.atlassian.com/t5/Agility/ct-p/agility Please update your notification subscriptions to keep across the ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG