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?
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:
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.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs