public class CommonUtil extends Object
| Constructor and Description |
|---|
CommonUtil(GoogleChatNotification googleChatNotification,
hudson.model.TaskListener taskListener,
hudson.FilePath ws) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkPipelineFlag(hudson.model.Run build) |
boolean |
checkWhetherToSend(hudson.model.Run build) |
String |
escapeSpecialCharacter(String input) |
String |
formResultJSON(hudson.model.Run build) |
String |
replaceJenkinsKeywords(String inputString,
hudson.model.Run build) |
void |
sendNotification(String json) |
public CommonUtil(GoogleChatNotification googleChatNotification, hudson.model.TaskListener taskListener, hudson.FilePath ws)
public void sendNotification(String json)
public String formResultJSON(hudson.model.Run build)
public String replaceJenkinsKeywords(String inputString, hudson.model.Run build)
public boolean checkWhetherToSend(hudson.model.Run build)
public boolean checkPipelineFlag(hudson.model.Run build)
Copyright © 2016–2018. All rights reserved.