mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-04-04 17:00:12 -05:00
Adding build-status api to mocked server
This commit is contained in:
parent
0caba5642b
commit
22f785dafa
@ -1402,7 +1402,7 @@ var routes = Routes{
|
|||||||
Route{
|
Route{
|
||||||
"GetCommitStatus",
|
"GetCommitStatus",
|
||||||
strings.ToUpper("Get"),
|
strings.ToUpper("Get"),
|
||||||
"/rest/rest/build-status/1.0/commits/{commitId}",
|
"/rest/build-status/1.0/commits/{commitId}",
|
||||||
GetCommitStatus,
|
GetCommitStatus,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -1416,7 +1416,7 @@ var routes = Routes{
|
|||||||
Route{
|
Route{
|
||||||
"SetCommitStatus",
|
"SetCommitStatus",
|
||||||
strings.ToUpper("Post"),
|
strings.ToUpper("Post"),
|
||||||
"/rest/rest/build-status/1.0/commits/{commitId}",
|
"/rest/build-status/1.0/commits/{commitId}",
|
||||||
SetCommitStatus,
|
SetCommitStatus,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user