Skip to content

Commit

Permalink
[JENKINS-4099] Deleting branch causes build failure in clearcase plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
skoechle authored and Vlatombe committed Oct 4, 2013
1 parent 24eaea4 commit 3b07ba1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -24,6 +24,8 @@
*/
package hudson.plugins.clearcase.history;

import org.apache.commons.lang.StringUtils;

/**
* @author Henrik L. Hansen (henrik.lynggaard@gmail.com)
*/
Expand All @@ -38,6 +40,8 @@ public boolean accept(HistoryEntry entry) {
return false;
if (entry.getEvent().equalsIgnoreCase("create branch"))
return false;
if (StringUtils.isEmpty(entry.getActivityName()))
return false;

return true;
}
Expand Down
Expand Up @@ -36,7 +36,7 @@
public class HistoryEntry {

String activityHeadline;
String activityName;
String activityName = "undefined_for_non_ucm";
StringBuilder commentBuilder = new StringBuilder();
Date date;
String dateText;
Expand Down

0 comments on commit 3b07ba1

Please sign in to comment.