HomePhabricator

Document how to use `harbormaster.sendmessage` to report lint and unit results

Description

Document how to use harbormaster.sendmessage to report lint and unit results

Summary: Fixes T7419. This doesn't really do anything, just adds documentation.

Test Plan:

  • Read the documentation:

Screen Shot 2015-08-04 at 12.31.16 PM.png (1×2 px, 360 KB)

  • Created a build plan which makes an HTTP request to example.com and waits for a result.
  • Ran that build plan manually.
  • Called harbormaster.sendmessage manually with the example lint/unit values to provide a result.
  • Saw the results report correctly and the message ("fail") process as expected:

Screen Shot 2015-08-04 at 12.33.42 PM.png (507×1 px, 62 KB)

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7419

Differential Revision: https://secure.phabricator.com/D13789