Skip to content

CodePipelineGitSshRepo

A git repository a code pipeline run clones and pushes over SSH.

Kind: an object, used in requests and responses. In a request it is called CodePipelineGitSshRepoInput.

FieldTypeRequiredDescription
gitAddressstringThe repository’s SSH address, for example git@github.com:org/repo.git.
gitSshKeybase64The private SSH key to clone and push with, base64-encoded. Required. Write-only: never returned.
namestringThe repository’s name, unique within the run. Steps name it in commitRepoName.
branchSourcestringThe branch to start from.
branchWorkstringThe branch the agents’ work is committed and pushed to. It can be the same as branchSource.
mcpServerCodePipelineProcessMcpServerInput| nullA command that runs an MCP server from the repository’s checkout, which the agents can then call as tools. Null: none.
resolvedCommitShastring | nullThe commit the work branch was at once the repository was checked out for the current attempt. Null until then.
runBaseCommitShastring | nullThe commit the work branch was at when the run first checked it out. Unlike resolvedCommitSha it never changes when the run is resumed, so it is where the run’s work began. Set by Maitento; any value you send is ignored.
finalCommitShastring | nullThe commit the work branch was at after the run’s last successful push: what the run delivered. Null when the run pushed nothing to this repository.
dateLastCommitUtcdatetime | nullWhen the last successful push landed, in UTC. Null exactly when finalCommitSha is.
{
"gitAddress": "...",
"gitSshKey": "aGVsbG8=",
"name": "...",
"branchSource": "...",
"branchWork": "...",
"mcpServer": {
"command": "...",
"args": [
"..."
]
},
"resolvedCommitSha": "...",
"runBaseCommitSha": "...",
"finalCommitSha": "...",
"dateLastCommitUtc": "2026-10-26T12:00:00.0000000Z"
}

Every field is present in a response; empty ones are null.

FieldTypeDescription
gitAddressstringThe repository’s SSH address, for example git@github.com:org/repo.git.
namestringThe repository’s name, unique within the run. Steps name it in commitRepoName.
branchSourcestringThe branch to start from.
branchWorkstringThe branch the agents’ work is committed and pushed to. It can be the same as branchSource.
mcpServerCodePipelineProcessMcpServer| nullA command that runs an MCP server from the repository’s checkout, which the agents can then call as tools. Null: none.
resolvedCommitShastring | nullThe commit the work branch was at once the repository was checked out for the current attempt. Null until then.
runBaseCommitShastring | nullThe commit the work branch was at when the run first checked it out. Unlike resolvedCommitSha it never changes when the run is resumed, so it is where the run’s work began. Set by Maitento; any value you send is ignored.
finalCommitShastring | nullThe commit the work branch was at after the run’s last successful push: what the run delivered. Null when the run pushed nothing to this repository.
dateLastCommitUtcdatetime | nullWhen the last successful push landed, in UTC. Null exactly when finalCommitSha is.
{
"gitAddress": "...",
"name": "...",
"branchSource": "...",
"branchWork": "...",
"mcpServer": {
"command": "...",
"args": [
"..."
]
},
"resolvedCommitSha": "...",
"runBaseCommitSha": "...",
"finalCommitSha": "...",
"dateLastCommitUtc": "2026-10-26T12:00:00.0000000Z"
}