Reduce logging in the Bamboo build logs for Source code checkout task

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Source Checkout Task
    • None
    • 0
    • 1

      Currently in Bamboo the source code checkout task for example for any Bitbucket repository prints details regarding all the tags and if there are large number of tags, the build logs will get filled up with that information and checkout become slower.

      Apart from this the git clone command also prints information related to "Receiving, compressing Objects" and resolving deltas etc, some example below

      simple	10-Oct-2022 20:09:21	Receiving objects: 100% (1222175/1222175), 401.86 MiB | 27.34 MiB/s
      simple	10-Oct-2022 20:09:21	Receiving objects: 100% (1222175/1222175), 409.64 MiB | 27.68 MiB/s, done.
      simple	10-Oct-2022 20:09:22	Resolving deltas:   0% (0/672413)
      simple	10-Oct-2022 20:09:36	 * [new tag]                 develop.                    ->  develop
      simple	10-Oct-2022 20:09:36	 * [new tag]                 2.2                             ->  2.2
      simple	10-Oct-2022 20:09:36	 * [new tag]                 5.4                             -> 5.4
      

      There should an option available either on the "source code checkout task" level or "Linked repository" level to suppress this information and during git clone operation stop check for tags present. 

      One of implementation mechanism would be to use below git command

      git clone --quiet ssh://repourl
      

       

              Assignee:
              Unassigned
              Reporter:
              Shashank Kumar
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: