Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,925
Community Members
 
Community Events
165
Community Groups

Is it possible to rerun Bamboo build with latest revision of a branch?

By default, using the "rerun failed/incomplete jobs" feature always checks out the same revision from git repository.

Is it possible to rerun the build but pull the current HEAD of a branch?

1 answer

1 accepted

0 votes
Answer accepted
Foong Atlassian Team Jun 21, 2018

Feature request https://jira.atlassian.com/browse/BAM-12600

Use Script task to update the repository first

That's what I've been doing so far, but it means that I have to reconfigure the whole plan, when I'm testing my branch - and I have to reconfigure it back once I'm done. And of course in mid-time, nobody else can use the plan whatsoever.

Are there any other workarounds? Or did you come up with some way of introducing the additional checkout only for my branch plan?

Foong Atlassian Team Jun 21, 2018

No other workaround. Source Code Checkout task will only perform checkout on the revision from the time of original trigger.

@Foong 

As mentioned by u, can u provide me the Script task to update the repository or link or guide for the same.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

940 views 3 8
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