-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
Problem Definition
Users are currently unable to modify / extend the Git commands that are run by Bamboo during the Source Code Check task.
Suggested Solution
It would be nice to be able to pass additional Git arguments to the Source Code Check task to have more control over the output of the checkout (clone options / fetch options). Much like with other tasks (e.g. Docker, Command and etc) it would be very helpful to have a field where you can pass additional arguments to the Git command Bamboo is triggering to modify the output of the checkout task.
Workaround
For example, there's currently no way to checkout a repository branch without bringing in all the tags using the Source Code Checkout task. The workaround to this case would be to use a Script task to clone/ fetch the repository and use the --no-tags argument to achieve that.
In most cases the workaround will be to use the Script task and lay out the Git commands you need to run manually.
- mentioned in
-
Page Loading...