Im пытается настроить ралли Git Connector с помощью Stash. Часть этого заключается в создании файла конфигурации для ралли и git.Использование и настройка Rally Git Connector с помощью Atlassian stash
Пример конфигурации:
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, ":")
Настройки раздела Rally я есть правильно.
Однако раздел Git - мне нужно добавить git RepositoryBase в файл конфигурации yml.
Im не так уверен в этой части, поскольку мы используем Atlassian Stash. Где Stash хранит эту информацию?
(все им делать на коробке, что притон и разъем установлен на)
Я видел эту статью, но это означало бы, что соединитель ралли может поддерживать только один репозиторий? –
Я считаю, что это правильно.Это один репозиторий для каждого файла конфигурации. Вы можете указать несколько конфигурационных файлов для одного вызова, например: ruby git2rally.rb cfgfile1 cfgfile2 cfgfile3 cfgfile4 – JPKole
Могу ли я спросить, действительно ли вы это сделали? Поддержка ралли, похоже, говорит, что stash не совместим с их коннектором. –