Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-20715

Install TestNG results plugin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Jenkins
    • Labels:
      None
    • Project:
      Brooklyn

      Description

      Apache Brooklyn uses the TestNG plugin for publishing the test results.This plugin is not available on the cloudbees jenkins.

      So the Apache Brooklyn PR builds are currently failing with:
      java.lang.UnsupportedOperationException: no known implementation of interface jenkins.tasks.SimpleBuildStep is named Publisher

      You can see that in https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-server/job/PR-1107/3/console

      The configuration for this step is:
      stage('Publish test results') {
       // Publish JUnit results
       junit allowEmptyResults: true, testResults: '**/target/surefire-reports/junitreports/*.xml'

       // Publish TestNG results
       step([
       $class: 'Publisher',
       reportFilenamePattern: '**/testng-results.xml'
       ])
      }

      This plugin details are here https://plugins.jenkins.io/testng-plugin/

      I expect the changes if procedure, will be available after next restart. Could you let me know next scheduled restart?

        Attachments

          Activity

            People

            • Assignee:
              gmcdonald Gavin McDonald
              Reporter:
              jcabrerizo Juan D. Cabrerizo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: