Those tasks allow you to respectively tag and branch revision of a source repository. Tagged/branched revision is the same as the revision Job builds. At the moment these Task only support Subversion repos, but there are plans to add support for Mercurial and Git.
Fantastic.. maybe you could give me a little bit more detail..
so if my Repos is.. http://svn.mysite.com/repos/code/branch/thisismybranch
Where I work we currently operate under a Function Branch modle so we have Trunk (should always work in production), Branches (where the Dev's work), QA (a moment in time svn cp of the Dev's Branch usually with a version # for a name, Tags (the svn cp of QA for the release to prod) which will be merged to Trunk after the release..
How do the new tasks work in relation to a real life model..
>[...]so if my Repos is.. http://svn.mysite.com/repos/code/branch/thisismybranch[...]
Default behaviour of branching is (behaviour of tagging in brackets):
- if path already contains directory called branch or branches (tag or tags for tagging) this is assumed to be correct root
- otherwise we cut the last part of the path, append word branch (tag) to it and check if such path exists, If so, we assume this is correct root
- else we append the word branches (tags)
You can override this in advanced section of your SVN repository configuration where you can manually defined root path for branches and tags.
So in your example:
If you run Branching task and name your branch 'newBranch', the path will be:
(because 'branch' is detected in the source path)
If you run Tagging task, and name your tag 'newTag', the path will be:
(the task checks which one already exists in the repository; uses 'tags' if neither)
This is not working for me at all.
I want to tag svn+ssh://svn.mysite.com/yeti/trunk with a tag of "LAST_SUCCESSFUL_BUILD". I tried specifying the repository with and without "/trunk".
I also tried with and without manually specifying the tags directory, which is actually at svn+ssh://svn.mysite.com/yeti/tags .
No matter what settings I use, I get a RepositoryException with the message "Path svn+ssh://svn.corp.lumeta.com/yeti/trunk/tags does not exist."
Running Atlassian Bamboo version 4.1.2 build 3103 - 21 Jun 12
1. Can you please try to use svn+ssh://svn.corp.lumeta.com/yeti URL? I believe the "tags" directory is located in "yeti", right?
2. Are you able to do the tagging from command line using the same URL?
If you are still experiencing the same problem, please open a ticket on https://support.atlassian.com and provide your build logs, Bamboo server log file and screenshot of the tagging task configuration page.
I was able to get it to work by using svn+ssh://svn.corp.lumeta.com/yeti/trunk, automatic detection of tags URL, and authentication type password. It's this latter that I think may have been the issue. Previously, I was trying to use SSH authentication, which works for checkout (and on the command line).
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs