public class HarbormasterClient
extends java.lang.Object
| Constructor and Description |
|---|
HarbormasterClient(ConduitAPIClient conduit) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
sendHarbormasterMessage(java.lang.String phid,
boolean pass,
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,
boolean pass,
UnitResults unitResults,
java.util.Map<java.lang.String,java.lang.String> coverage,
LintResults lintResults)
throws ConduitAPIException,
java.io.IOException
phid - Phabricator object IDpass - whether or not the build passedunitResults - 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