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

Exception error while run Job with HP ALM Quality Center plugin

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Labels:
      None
    • Environment:
      HP ALM Quality Center 11.52, Jenkins ver. 1.642.4
    • Similar Issues:

      Description

      Hi Team!
      We use Jenkins for run our automation test which are executed on Selenium server. In HP QC we have our Test Cases for automation tests in Test Plan and Test Lab. We would like to synchronize our test results from Jenkins with HP ALM QC. I have created a new Job for it and configure to installed HP ALM Quality Center plugin. But when I run Job (Create New Build) I got an exception error in Console Output:
      Synchronizing test results with ALM instance: https://qualitycenter.telekom.de/qcbin
      ERROR: Step 'HP Quality Center Integration' aborted due to exception:
      java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getAggregatedTestResultAction()Lhudson/tasks/test/AggregatedTestResultAction;
      at org.jenkinsci.plugins.qc.QualityCenterIntegrationRecorder.perform(QualityCenterIntegrationRecorder.java:110)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1067)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      at hudson.model.Run.execute(Run.java:1763)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Finished: FAILURE

      Thank you in advance.

        Attachments

          Activity

          Hide
          faziom Michael Fazio added a comment -

          The plugin is built against V1.565.3 of Jenkins. See "jenkins.version" in https://github.com/S73417H/hp-quality-center-plugin/blob/master/pom.xml#L19. Will need to update the version and then fix any resulting source code incompatibilities with the Jenkins core.

          It is likely that your Jenkins server is reporting that the version of the plugin is not compatible.

          Show
          faziom Michael Fazio added a comment - The plugin is built against V1.565.3 of Jenkins. See "jenkins.version" in https://github.com/S73417H/hp-quality-center-plugin/blob/master/pom.xml#L19 . Will need to update the version and then fix any resulting source code incompatibilities with the Jenkins core. It is likely that your Jenkins server is reporting that the version of the plugin is not compatible.
          Hide
          lev2alt56 Lev Alterman added a comment -

          Hi Michael,

          in order we downgrade our Jenkins to such old version we lost most of all Jenkins jobs which we are using for Test Automation based on Selenium.
          Is it possible to have such plugin available for newest version of Jenkins ?

          Thank you,
          Lev

          Show
          lev2alt56 Lev Alterman added a comment - Hi Michael, in order we downgrade our Jenkins to such old version we lost most of all Jenkins jobs which we are using for Test Automation based on Selenium. Is it possible to have such plugin available for newest version of Jenkins ? Thank you, Lev
          Hide
          faziom Michael Fazio added a comment -

          New version 1.4 should work with versions of Jenkins 2.0+.

          Show
          faziom Michael Fazio added a comment - New version 1.4 should work with versions of Jenkins 2.0+.

            People

            • Assignee:
              faziom Michael Fazio
              Reporter:
              lev2alt56 Lev Alterman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: