Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-11096

Bamboo Git Plugin (native mode) shouldn't hang when using ssh protocol on windows.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 4.1.2, 4.2
    • Component/s: Repository (Git)
    • Labels:
    • Streams:
      Poland
    • Last commented by user?:
      true
    • Story Points:
      3
    • Comments:
      35
    • Internal Priority:
      1. Highest

      Description

      Steps to reproduce:
      1) grab a windows machine
      2) install there minimal git: http://code.google.com/p/msysgit/
      3) grab Bamboo 3.4.3 (I think this error will still occur on newer versions too)
      4) set up a Plan that uses Git as repository and uses ssh:// protocol, for example:
      4.1) url = ssh://git@github.com/atlassian/bamboo-git-plugin.git
      (use SSH keyfile as "authentication type" - set up your github account accordingly)
      5) use the windows machine from point (1) as a remote agent, connect to bamboo
      6) in bamboo administration - set up the remote agent to use Git capability (so it will use native-git checkout instead of jgit checkout)
      7) run the plan
      8a) observed behavior is that the build hangs at code checkout (possibly to localhost proxy-SSH fingerprint host key checking)
      8b) while expected behavior is that the build will... build.

      from: BSP-6565
      and: https://answers.atlassian.com/questions/39371/ssh-port-on-git-repository-polling

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  3 years, 18 weeks, 6 days ago