Skip to content
Permalink
Browse files
FIx [JENKINS-31017] - Add a method comment
  • Loading branch information
gboissinot committed Mar 6, 2016
1 parent c8058eb commit 8677f5be2322754a9ddc24689b25248411a9c850
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/main/java/org/jenkinsci/plugins/scripttrigger/AbstractTrigger.java
@@ -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 ) {

0 comments on commit 8677f5b

Please sign in to comment.