public class HarbormasterClient
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HarbormasterClient.MessageType
See https://secure.phabricator.com/conduit/method/harbormaster.sendmessage/
|
| Constructor and Description |
|---|
HarbormasterClient(ConduitAPIClient conduit) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
sendHarbormasterMessage(java.lang.String phid,
HarbormasterClient.MessageType messageType,
UnitResults unitResults,
java.util.Map<java.lang.String,java.lang.String> coverage,
LintResults lintResults)
Sets a sendHarbormasterMessage build status
|
net.sf.json.JSONObject |
sendHarbormasterUri(java.lang.String phid,
java.lang.String buildUri)
Uploads a uri as an 'artifact' for Harbormaster to display
|
public HarbormasterClient(ConduitAPIClient conduit)
public net.sf.json.JSONObject sendHarbormasterMessage(java.lang.String phid,
HarbormasterClient.MessageType messageType,
UnitResults unitResults,
java.util.Map<java.lang.String,java.lang.String> coverage,
LintResults lintResults)
throws ConduitAPIException,
java.io.IOException
phid - Phabricator object IDmessageType - type of message to send; either 'pass', 'fail' or 'work'unitResults - the results from the unit testscoverage - the results from the coverage providerlintResults - java.io.IOException - if there is a network error talking to ConduitConduitAPIException - if any error is experienced talking to Conduitpublic net.sf.json.JSONObject sendHarbormasterUri(java.lang.String phid,
java.lang.String buildUri)
throws ConduitAPIException,
java.io.IOException
phid - Phabricator object IDbuildUri - Uri to display, presumably the jenkins buildsjava.io.IOException - if there is a network error talking to ConduitConduitAPIException - if any error is experienced talking to Conduit