YAML examples for Git Repository
Git target with HTTP authentication
yaml
- target: myRepo
type: GIT
name: name
repository: git@provider.com:myOrg/myRepo.git
auth:
method: HTTP
username: uname
password: pass
Http Auth
yaml
- target: myRepo
type: GIT
name: name
repository: git@provider.com:myOrg/myRepo.git
auth:
method: HTTP
username: uname
password: pass
Assets Key Auth
yaml
- target: myRepo
type: GIT
name: name
repository: git@provider.com:myOrg/myRepo.git
auth:
method: ASSETS_KEY
username: uname
asset: myKey
Ssh Key Auth
yaml
- target: myRepo
type: GIT
name: name
repository: git@provider.com:myOrg/myRepo.git
auth:
method: SSH_KEY
username: uname
key: $GIT_SSH_KEY