Adding build-status api to mocked server

This commit is contained in:
gfleury 2020-03-20 08:29:14 -03:00
parent 0caba5642b
commit 22f785dafa

View File

@ -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,
}, },
} }