``credentials`` |
required, array |
Git credentials to store. |
[{
"gitAccount" : "myExampleGitAccount",
"username" : "sp",
"email" : "sp@test.example.com",
"keyfilePath" : "/example/path/to/keyfile",
"gitServer" : "my-example-remote.git-host.net"
}]
|
|
``gitAccount`` |
required, string |
Account name for the access to the Git Server. |
"gitAccount" : "myExampleGitAccount" |
|
``username`` |
required, string |
Username for the Git Account to be used fo author entries of commits. |
"username" : "sp" |
|
``email`` |
required, string |
Email address for the Git Account to be used fo author entries of commits. |
"email" : "sp@test.example.com" |
|
``password`` |
required anyOf(``password``, ``personalAccessToken``, ``keyfilePath``), string |
Password to use with the Git account for http(s) access to the Git Server. |
"password" : "myExampleGitPasswd" |
|
``personalAccessToken`` |
required anyOf(``password``, ``personalAccessToken``, ``keyfilePath``), string |
Personal Access Token (PAT) to use with the Git account for http(s) access to the Git Server. |
"personalAccessToken" : "ExaM29pl4evLx7ebhWzo" |
|
``keyfilePath`` |
required anyOf(``password``, ``personalAccessToken``, ``keyfilePath``), string |
Path to the keyfile to use for SSH access to the Git Server. |
"keyfilePath" : "/example/path/to/keyfile" |
|
``gitServer`` |
required, string |
The hostname(:port) of the Git Server. |
"gitServer" : "my-example-remote.git-host.net" |
|