From 905fe575edbdeecd726cafa58c404670a0325c5e Mon Sep 17 00:00:00 2001 From: Tomas Bjerre Date: Mon, 25 Dec 2017 21:17:00 +0100 Subject: [PATCH] Fixing encoding issues --- .../org/jenkinsci/plugins/jvctb/perform/JvctbPerformer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jenkinsci/plugins/jvctb/perform/JvctbPerformer.java b/src/main/java/org/jenkinsci/plugins/jvctb/perform/JvctbPerformer.java index cdd8884..3060380 100644 --- a/src/main/java/org/jenkinsci/plugins/jvctb/perform/JvctbPerformer.java +++ b/src/main/java/org/jenkinsci/plugins/jvctb/perform/JvctbPerformer.java @@ -22,7 +22,7 @@ import static org.jenkinsci.plugins.jvctb.config.ViolationsToBitbucketServerConfigHelper.FIELD_USERNAME; import static org.jenkinsci.plugins.jvctb.config.ViolationsToBitbucketServerConfigHelper.FIELD_USERNAMEPASSWORDCREDENTIALSID; import static se.bjurr.violations.comments.bitbucketserver.lib.ViolationCommentsToBitbucketServerApi.violationCommentsToBitbucketServerApi; -import static se.bjurr.violations.lib.ViolationsReporterApi.violationsReporterApi; +import static se.bjurr.violations.lib.ViolationsApi.violationsApi; import static se.bjurr.violations.lib.parsers.FindbugsParser.setFindbugsMessagesXml; import static se.bjurr.violations.lib.util.Filtering.withAtLEastSeverity; import hudson.EnvVars; @@ -77,7 +77,7 @@ public static void doPerform( for (final ViolationConfig violationConfig : config.getViolationConfigs()) { if (!isNullOrEmpty(violationConfig.getPattern())) { List parsedViolations = - violationsReporterApi() // + violationsApi() // .findAll(violationConfig.getParser()) // .withReporter(violationConfig.getReporter()) // .inFolder(workspace.getAbsolutePath()) //