Skip to content

Commit

Permalink
FIx [JENKINS-31017] - Add a method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Mar 6, 2016
1 parent c8058eb commit 8677f5b
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -105,6 +105,12 @@ protected Action[] getScheduledActions(Node pollingNode, XTriggerLog log) {
return actionList.toArray(new Action[actionList.size()]);
}


/**
* Extracts the latest description value between the <description></description> section.
* @param content the script log trigger plugin current log
* @return the latest description found or null if any
*/
private String extractDescription(String content) {
String [] des = StringUtils.substringsBetween(content, "<description>", "</description>");
if (des != null && des.length >=1 ) {
Expand Down

0 comments on commit 8677f5b

Please sign in to comment.