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

How do you specify a tag/sha for the "Source Code Checkout" task?

Adam Pryce March 21, 2016

We have a situation where we want to specify the tag used for the build. What variable does the Source Code Checkout task use to decide which commit to checkout?

3 answers

1 vote
Victorio Berra November 15, 2018

Please add a "tag" input box for the "Source Code Checkout" task.

cbaldan1
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!
February 11, 2019

I second that.

Like Chitrarth Sahai likes this
1 vote
Adam Pryce March 22, 2016

In the end we had to remove the "Source Code Checkout" task and instead run two command tasks, one to fetch and the other to checkout. These used the system git executable.

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 22, 2016

When you run plan you can specify SHA commit.

Choose Run customised option at Run dropdown list

Adam Pryce March 22, 2016

Our use case is not for the plan level, but at the stage/task level. This arrises when we cut a release and we need to do follow up work against the tagged release commit. The plan commit is looking at the commit before the release and master is now the commit after the release.

Also, this question is relevant for if we have builds that are not manually triggered.

Like James_Marble likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events