Git - saveGitConfig


Git - saveGitConfig

Description :

The command parses the input properties file and saves the Git configurations in Bladelogic for Git-related operations.

In the input file, include lines for the following properties with valid values, according to the following general syntax:

Property

Description

Example

repoServer=value

File server machine name.

repoServer=fileserver1

repoPath=value

Directory path on the repoServer. This directory will be created at the time of excution of the command.

repoPath=/root/usr/bladelogicgitrepo

gitInstallationPath=value

Git installation path till bin folder. This property is required if RepoServer is a Windows Server machine.

gitInstallationPath=/C/Program Files/Git/bin

emailDomain=value

Email domain. This property is required for commits in Git Repo.

emailDomain=bmc.com

repoRemoteURL=value

HTTPS Git clone URL.

repoRemoteURL=https://github.com/r/bladelogicrepo.git

automationPrincipal=value

Automation Principal Name with Principal ID and passphrase same as of Remote Git Repo.

automationPrincipal=admin

sslVerify=value

Either true or false depending upon the SSL verification requirements.

sslVerify=false

Command Input :

Variable Name

Variable Type

Description

fileLocation

String

Full path to the Git configuration properties file

Example

This example shows how to configure a Git Repository with a valid input file.

Script

blcli Git saveGitConfig /root/tmp/gitconfig.properties

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation Command Line Interface 23.1