Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70468

ui-test-capture-plugin / not working with more recent versions of Jenkins

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • other
    • None

    Description

      The ui-test-capture-plugin found in public repos, doesn't work with latest version of Jenkins 2.381

      ERROR: Build step failed with exception
      java.lang.ClassCastException: class hudson.maven.MavenModuleSet cannot be cast to class hudson.model.Project (hudson.maven.MavenModuleSet is in unnamed module of loader jenkins.util.URLClassLoader2 @672adbed; hudson.model.Project is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @76908cc0)
      at br.vbathke.jenkins.UITestCaptureAction.<init>(UITestCaptureAction.java:31)
      at br.vbathke.jenkins.UITestCaptureRecorder.perform(UITestCaptureRecorder.java:81)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1072)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)
      at hudson.model.Run.execute(Run.java:1925)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:101)
      at hudson.model.Executor.run(Executor.java:442)
      Build step 'UI Test Capture' marked build as failure
      

      Attachments

        Activity

          markewaite Mark Waite added a comment -

          eliasbalasis the last release of that plugin was over 6 years ago. If you depend on the plugin, you should adopt the plugin, modernize it, and release a new version.

          markewaite Mark Waite added a comment - eliasbalasis the last release of that plugin was over 6 years ago. If you depend on the plugin, you should adopt the plugin , modernize it , and release a new version .
          eliasbalasis Elias Balasis added a comment - - edited

          I understand.

          Unfortunately, I haven't found any other Jenkins plugins capable of capturing and displaying screenshots of failed UI tests, which is the main requirement I wanted to satisfy.

          Given that I have never maintained any Jenkins plugins, the learning curve would probably be very steep and my time allowance would be quite limited.

          If no other such plugin exists, I would like to try but it is going to be a long journey.

          eliasbalasis Elias Balasis added a comment - - edited I understand. Unfortunately, I haven't found any other Jenkins plugins capable of capturing and displaying screenshots of failed UI tests, which is the main requirement I wanted to satisfy. Given that I have never maintained any Jenkins plugins, the learning curve would probably be very steep and my time allowance would be quite limited. If no other such plugin exists, I would like to try but it is going to be a long journey.
          markewaite Mark Waite added a comment - Some of the places where I've seen mention of screenshots from failing tests include: https://www.testrisk.com/2016/07/how-to-add-screenshot-to-jenkins.html https://docs.cypress.io/guides/guides/screenshots-and-videos https://forum.robotframework.org/t/screen-capture-no-more-displayed-in-logs-with-jenkins-robot-plugin/2430 https://groups.google.com/g/selenium-users/c/cuRS4nqsbug

          People

            vbathke Victor Bathke
            eliasbalasis Elias Balasis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: