Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error using new 6.7 feature "Repository Tag"

Hi

I've upgraded to bamboo 6.7.1, and now I'm trying to use the new feature Repository Tasks. I'm trying to tag when I deploy, so I added the task "Repository Tag" to my deployment project, but it fails with:

23-Okt-2018 14:54:20 Error occurred while running Task 'Tag(4)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.tagging.
23-Okt-2018 14:54:20 com.atlassian.bamboo.task.TaskException: Repository id 17530883 is invalid. Please reselect from the configuration screen.
23-Okt-2018 14:54:20 at com.atlassian.bamboo.utils.BambooPreconditions.checkThat(BambooPreconditions.java:29)
23-Okt-2018 14:54:20 at com.atlassian.bamboo.plugins.vcs.task.VcsTagTask.execute(VcsTagTask.java:48)

I reselected the repository in the system config and the plan config, but still get the same error. I even checked in the database, and as far as I can see, that id is valid.

Any ideas?

Thanks,

Jörg. 

2 answers

1 accepted

4 votes
Answer accepted

Ok, problem solved now. I just had to put a "Checkout" Task in front of the "Tag" Task.

Quick update: I did some more testing, and it seems that tagging works as part of a build plan, but not as part of a deployment. 

Using Bamboo 6.10.2 - is that still true that tagging a repo does not work in deployment tasks?  I mean, that's the time to tag the repo is when something is deployed.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

167 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you