Page MenuHomePhabricator

How do I send detail to harbormaster.sendmessage 'work' message
OpenPublic

Asked by jsturgeon on Jun 16 2016, 12:45 AM.

Details

The documentation seems to indicate that I can update a harbormaster build with messages from the build server, but I don't know the json needed to do that.

Right now, all I can do is add the word 'work':

echo '{
  "buildTargetPHID": "PHID-HMBT-6ryh6cvsdfpssgy6wrxf",
  "type": "work"
}' | arc call-conduit --conduit-uri https://phabricator.mycompany.com/  harbormaster.sendmessage

Is there another parameter I can send it for a detailed message about the progress (say "10% complete") or something?

Answers

asherkin
Updated 3,083 Days Ago

The "work" message type is for uploading intermediate lint and unit results, it doesn't support logging arbitrary messages.

New Answer