From a1db5e62d38aee773ff546f22a6dee8df701ff42 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Fri, 17 Mar 2023 07:21:58 -0700 Subject: [PATCH] JaCoCo hook no longer runs (#491) --- src/main/java/org/jenkins/tools/test/hook/JacocoHook.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/jenkins/tools/test/hook/JacocoHook.java b/src/main/java/org/jenkins/tools/test/hook/JacocoHook.java index 7d25cadd..52113b72 100644 --- a/src/main/java/org/jenkins/tools/test/hook/JacocoHook.java +++ b/src/main/java/org/jenkins/tools/test/hook/JacocoHook.java @@ -18,9 +18,9 @@ public class JacocoHook extends PluginCompatTesterHookBeforeExecution { @Override public boolean check(@NonNull BeforeExecutionContext context) { Model model = context.getModel(); - return "org.jenkins-ci.plugins".equals(model.getGroupId()) - && "jacoco".equals(model.getArtifactId()) - && "hpi".equals(model.getPackaging()); + // pending https://github.com/jenkinsci/jacoco-plugin/pull/206 + // "org.jenkins-ci.plugins".equals(model.getGroupId()) + return "jacoco".equals(model.getArtifactId()) && "hpi".equals(model.getPackaging()); } @Override