Chromium Code Reviews| Index: milo/appengine/buildbucket/properties.go |
| diff --git a/milo/appengine/buildbucket/properties.go b/milo/appengine/buildbucket/properties.go |
| index 34e5f85489f326be37de754fa517b5443f4a1b29..4a4c54464b3c39b33891cb02c59be4ef06c61f7e 100644 |
| --- a/milo/appengine/buildbucket/properties.go |
| +++ b/milo/appengine/buildbucket/properties.go |
| @@ -18,13 +18,12 @@ type properties struct { |
| RietveldURL string `json:"rietveld"` // e.g. "https://codereview.chromium.org" |
| Issue number `json:"issue"` // e.g. 2127373005 |
| - PatchSet number `json:"patchset"` // e.g. 40001 |
| + PatchSet number `json:"patchset"` // e.g. 40001 for rietveld or 1 for gerrit |
|
nodir
2017/03/24 06:35:02
apparently for Gerrit it is "patch_set" with under
|
| - GerritURL string `json:"gerrit"` // e.g. "https://chromium-review.googlesource.com" |
| - GerritChangeNumber int `json:"event.change.number"` // e.g. 358171 |
| - GerritChangeID string `json:"event.change.id"` // e.g. "infra%2Finfra~master~Iee05b76799d577d491f533b8acaa4560ac14a806" |
| - GerritChangeURL string `json:"event.change.url"` // e.g. "https://chromium-review.googlesource.com/#/c/358171" |
| - GerritPatchRef string `json:"event.patchSet.ref"` // e.g. "refs/changes/71/358171/2" |
| + PatchGerritURL string `json:"patch_gerrit_url"` // e.g. "https://chromium-review.googlesource.com" |
| + PatchIssue int `json:"patch_issue"` // e.g. 358171 |
| + PatchProject string `json:"patch_project"` // e.g. "infra/infra" |
| + PatchRepositoryURL string `json:"patch_repository_url"` // e.g. https://chromium.googlesource.com/infra/infra |
| Revision string `json:"revision"` // e.g. "0b04861933367c62630751702c84fd64bc3caf6f" |
| BlameList []string `json:"blamelist"` // e.g. ["someone@chromium.org"] |