Provide a list of branches and tags for a given repository through rest api
349
This is a small project extracting information from a remote git repository about heads and tags
It returns all branches for a given repository
Post to /api/branches with the following payload:
{
repository: "git@gitserver:test.git"
}
Result will look like this:
{
"options": [
{
"key": "master",
"value": "master",
"enabled": true,
"image": "..."
},
{
"key": "develop",
"value": "develop",
"enabled": true,
"image": "..."
},
{
"key": "feature/a",
"value": "feature/a",
"enabled": true,
"image": "..."
}
]
}
The service is thought to be used in conjunction with https://github.com/grundic/teamcity-web-parameters
gitbranch server --listen ":8080"
Images from https://www.shareicon.net/author/hub
| Version | Description |
|---|---|
| v1.0.0 | Initial version |
Content type
Image
Digest
Size
94.9 MB
Last updated
over 9 years ago
docker pull briefbote/gitbranch