Bamboo push tags

Olivér Spingár February 21, 2019

I use maven release plugin for release generation. I use pushChanges=false and localCheckout=true options so every changes go to the local repo only. After it I run a Repository Push task, but it only push the commits. How can I push the tags too?

1 answer

0 votes
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2019

Use another task "Repository Tag"

Olivér Spingár February 28, 2019

I can't use this because this task makes new tag. I like to push the tag which the maven release plugin create during release generation.

Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 4, 2019
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 4, 2019

Can try this add-on Maven POM Value Extractor to get the tag value, use Script task to remove the created tag and then Repository Tag task to create and push the tag again.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events