Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

mireksz June 21, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 21, 2018

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

Use Script task to update the repository first

mireksz June 21, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 21, 2018

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

Ashish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 29, 2019

@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
AUG Leaders

Atlassian Community Events