Tried several variations of source checkout from GIT using Bambo without luck. Our GIT repository does not provide a URL path. As a result, Check Out Directory = 'file://\\\server\code$\Tools' results in error: ' failed.Creating directories for C:\Users\myUser\bamboo-home\xml-data\build-dir\PROJ-PLAND-JOB1\file:\server\code$\Tools\.git failed)'. Check Out Directory = 'file:///server/code$/tools' results in error 'Failed to open transport'. Check Out Directory = ‘//server/code$/tools' results in error 'is forbidden'. Outside of using a URL path, how can I reference our GIT repository for a proper Source Code Checkout?
Hi Bill,
There are a few steps to be taken in order to accomplish what you are looking for:
First of all, create a folder that will hold your Git repository on your network share in case you have your repository and Bamboo running on different servers. Otherwise, just follow the steps below.
For this example, lets assume you have your repository on drive D:
cd d:
cd myrepository\inhere
git init —bare
c: cd development/mycode git clone file://d:\myrepository\inhere (UNC paths also work file://\server\share\username\scripts)
git push origin master
git remote add origin file://d:\myrepository\inhere git push origin master
Please, refer to Using Git on a Windows drive for further information.
Kind regards,
Rafael
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.