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?
When you run plan you can specify SHA commit.
Choose Run customised option at Run dropdown list
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.
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.
Please add a "tag" input box for the "Source Code Checkout" task.
I second that.
It looks like you're new here. Sign in or register to get started.