Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21196

Allow users to add Git arguments to the Source Code Checkout task

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Source Checkout Task
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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.

            Unassigned Unassigned
            brosa Bruno Rosa
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: