I'm trying to set up the Rally Git Connector with Stash. Part of this is to create a config file for rally and git.
Sample config:
VCSConnector:
#
# The content of the file below should follow YAML specifications
# Non standard characters should be enclosed with double quotations
# RepositoryBase is an exception and cannot be enclosed with double quotations
# Therefore the RepositoryBase cannot contain special characters.
#
Rally:
Server : "rally.url.com" # required
Protocol : https # required, https or (http only for On Premise)
Username : "user" # required
Password : "password" # required, is encoded after first use
Workspace : "workspace." # required, name of Rally Workspace
RepositoryName : "GitSCM" # required, name of Rally SCMRepository
# Proxy : "server:port" # optional
# ProxyUser : "Proxy User" # optional, use when Proxy is an authenticating proxy
# ProxyPassword : "Proxy Password" # optional, use when Proxy is an authenticating proxy
Lookback : 90 # optional (in minutes), defaults to 60 minutes
UpdateArtifactState : False # False is the default value
StateExtractorClass : BasicActionsAndArtifactsExtractor(message) # only used if above is True
Debug : False # defaults to False, to enable, specify a value of True
Git:
# Server : serverurl # optional, but if set connector runner user must authenticate using PKI
RepositoryBase : [I DONT KNOW] # required, filesystem path to git repository
Lookback : 90 # in minutes, optional (defaults to 120 minutes)
MaxItems : 100 # required, max items processed in a run
# RevURI : "http://git/giturial/bigproject/rev/{revnumber}" # optional, if running web access to repo
# FileURI : "http://git/giturial/bigproject/file/{revnumber}/{filepath}" # optional, if running web access
Services:
Preview : True # optional; when True, show what would happen
LogLevel : Debug # optional; default value is Info
# PostBatchExtension : MetricsPoster # for future use
Transforms: # Listing a Transform is Required
Author : Passthru # Required defaults to Passthru
# Author : Blank
# Author : EmailAddressAsRallyUser
# Author : FileBasedUserNameLookup(user_map.txt, ":")
# Author : RallyUserNameLookup(FirstName, LastName)
# Author : UserNameDomainAugmentLookup(DomainName)
# Author : UserLookupChainGang(FirstName, LastName, user_map.txt, ":")
The Rally section settings I have correct.
The Git section however - I need to add the git RepositoryBase into the config yml file.
I'm not so sure on this part as we are using Atlassian Stash. Where does Stash store this information?
(Everything I'm doing is on the box that stash and the connector is installed onto)
Here's an article that may help: https://answers.atlassian.com/questions/265978/where-does-stash-store-the-repositories