public final class MessageHandler extends Object
Constructor and Description |
---|
MessageHandler() |
Modifier and Type | Method and Description |
---|---|
static net.sf.json.JSONObject |
buildDeployableMappingMessage(hudson.EnvVars envVars,
PrintStream printStream) |
static net.sf.json.JSONObject |
buildMessage(hudson.model.Run r,
hudson.EnvVars envVars,
String phase,
String result) |
static void |
postToWebhook(String webhook,
boolean deployableMessage,
net.sf.json.JSONObject message,
PrintStream printStream) |
public static net.sf.json.JSONObject buildMessage(hudson.model.Run r, hudson.EnvVars envVars, String phase, String result)
public static void postToWebhook(String webhook, boolean deployableMessage, net.sf.json.JSONObject message, PrintStream printStream)
public static net.sf.json.JSONObject buildDeployableMappingMessage(hudson.EnvVars envVars, PrintStream printStream)
Copyright © 2016–2020. All rights reserved.