java.lang.UnsupportedOperationException: no known implementation of interface jenkins.tasks.SimpleBuildStep is named ACIPluginPublisher at org.jenkinsci.plugins.structs.describable.DescribableModel. resolveClass(DescribableModel.java:359) at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce( DescribableModel.java:313) at org.jenkinsci.plugins.structs.describable.DescribableModel. buildArguments(DescribableModel.java:257) at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate (DescribableModel.java:201) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance( StepDescriptor.java:104)

Google Groups | Jonathan Hodgson | 5 months ago
  1. 0

    Applied pipeline compatibility patch to summary report plugin... doesn't seem to work, maybe operator error?

    Google Groups | 5 months ago | Jonathan Hodgson
    java.lang.UnsupportedOperationException: no known implementation of interface jenkins.tasks.SimpleBuildStep is named ACIPluginPublisher at org.jenkinsci.plugins.structs.describable.DescribableModel. resolveClass(DescribableModel.java:359) at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce( DescribableModel.java:313) at org.jenkinsci.plugins.structs.describable.DescribableModel. buildArguments(DescribableModel.java:257) at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate (DescribableModel.java:201) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance( StepDescriptor.java:104)
  2. 0

    A straightforward JUnit test is failing on OSX and succeeds on Linux, presumably this means the implementation will be broken on OSX as well. {code} public class AnsiColorBuildWrapperWorkflowTest { @ClassRule public static BuildWatcher buildWatcher = new BuildWatcher(); @Rule public RestartableJenkinsRule story = new RestartableJenkinsRule(); @Test public void testWorkflowWrap() throws Exception { story.addStep(new Statement() { @Override public void evaluate() throws Throwable { Assume.assumeTrue(!Functions.isWindows()); WorkflowJob p = story.j.jenkins.createProject(WorkflowJob.class, "p"); p.setDefinition(new CpsFlowDefinition( "node {\n" + " wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm', 'defaultFg': 1, 'defaultBg': 2]) {\n" + " sh(\"\"\"#!/bin/bash\n" + " echo -e '\\\\e[31mred\\\\e[0m'\"\"\"\n" + " )\n" + " }\n" + "}" )); story.j.assertBuildStatusSuccess(p.scheduleBuild2(0)); StringWriter writer = new StringWriter(); p.getLastBuild().getLogText().writeHtmlTo(0L, writer); assertTrue(writer.toString().matches("(?s).*<span style=\"color: #CD0000;\">red</span>.*")); } }); } } {code} {code} java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.SimpleBuildWrapper is named AnsiColorBuildWrapper at org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:233) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.buildArguments(DescribableHelper.java:186) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.instantiate(DescribableHelper.java:91) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance(StepDescriptor.java:103) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:133) {code} See https://github.com/dblock/jenkins-ansicolor-plugin/pull/60.

    Jenkins JIRA | 1 year ago | Daniel Doubrovkine
    java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.SimpleBuildWrapper is named AnsiColorBuildWrapper
  3. 0

    A straightforward JUnit test is failing on OSX and succeeds on Linux, presumably this means the implementation will be broken on OSX as well. {code} public class AnsiColorBuildWrapperWorkflowTest { @ClassRule public static BuildWatcher buildWatcher = new BuildWatcher(); @Rule public RestartableJenkinsRule story = new RestartableJenkinsRule(); @Test public void testWorkflowWrap() throws Exception { story.addStep(new Statement() { @Override public void evaluate() throws Throwable { Assume.assumeTrue(!Functions.isWindows()); WorkflowJob p = story.j.jenkins.createProject(WorkflowJob.class, "p"); p.setDefinition(new CpsFlowDefinition( "node {\n" + " wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm', 'defaultFg': 1, 'defaultBg': 2]) {\n" + " sh(\"\"\"#!/bin/bash\n" + " echo -e '\\\\e[31mred\\\\e[0m'\"\"\"\n" + " )\n" + " }\n" + "}" )); story.j.assertBuildStatusSuccess(p.scheduleBuild2(0)); StringWriter writer = new StringWriter(); p.getLastBuild().getLogText().writeHtmlTo(0L, writer); assertTrue(writer.toString().matches("(?s).*<span style=\"color: #CD0000;\">red</span>.*")); } }); } } {code} {code} java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.SimpleBuildWrapper is named AnsiColorBuildWrapper at org.jenkinsci.plugins.workflow.structs.DescribableHelper.coerce(DescribableHelper.java:233) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.buildArguments(DescribableHelper.java:186) at org.jenkinsci.plugins.workflow.structs.DescribableHelper.instantiate(DescribableHelper.java:91) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance(StepDescriptor.java:103) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:133) {code} See https://github.com/dblock/jenkins-ansicolor-plugin/pull/60.

    Jenkins JIRA | 1 year ago | Daniel Doubrovkine
    java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.SimpleBuildWrapper is named AnsiColorBuildWrapper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Applied pipeline compatibility patch to summary report plugin... doesn't seem to work, maybe operator error?

    Google Groups | 5 months ago | Jonathan Hodgson
    java.lang.UnsupportedOperationException: no known implementation of interface jenkins.tasks.SimpleBuildStep is named ACIPluginPublisher
  6. 0

    [JIRA] (JENKINS-38905) Issue when implementing Junit: Publish test results report via Pipeline

    Google Groups | 2 months ago | lope...@gmail.com (JIRA)
    java.lang.UnsupportedOperationException: no known implementation of interface jenkins.tasks.SimpleBuildStep is named junit<br>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      no known implementation of interface jenkins.tasks.SimpleBuildStep is named ACIPluginPublisher at org.jenkinsci.plugins.structs.describable.DescribableModel. resolveClass(DescribableModel.java:359) at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce( DescribableModel.java:313) at org.jenkinsci.plugins.structs.describable.DescribableModel. buildArguments(DescribableModel.java:257) at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate (DescribableModel.java:201) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance( StepDescriptor.java:104)

      at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod()
    2. org.jenkinsci.plugins
      DSL.invokeMethod
      1. org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:135)
      1 frame