Why is it that there is no native way for bamboo to create a tag for a git repository or to get the username used to access a git repository, but for svn it's available? I thought bamboo would be awesome to work with in collaboration with stash, but as far as my experience goes, it's way easier to build bamboo plans around svn repositories. Is there an explanation for that, and will that change in the future?
Support for tagging and branching via a Bamboo Task is tracked here on JAC https://jira.atlassian.com/browse/BAM-9139.
But tagging a git commit is not something special ;-)
You just can use a script task and run
git tag my-version-number git push origin --tags
We are using Bamboo in a Git Environment and have defined a global command in Bamboo to tag and push it.
I've tried that, but it wont work since Bamboo will just push the tag to the local repository cache instead of the real repository. Adding the real repository to the remotes is not an option since we are bound to use username:password authentication and there's no easy way to insert that into the bamboo.repository.git.repositoryUrl.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the tips, would you be so kind to tell me where I can disable the repository caching? I couldn't find that option in the global repository settings or the repository settings for the build plan...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For repository caching, see also https://confluence.atlassian.com/display/BAMKB/Merging+and+pushing+to+remote+repository+failsand https://jira.atlassian.com/browse/BAM-11930
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.