Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-1403

Apex PDP Sonar Jenkins job is failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Dublin Release
    • Dublin Release
    • None
    • Policy Dublin 2 1/25-2/10

      Apex-PDP Sonar Jenkins job is failing because the Jenkins job cannot read the output of the Jacoco checkstyle for the service-engine module. Every other module seems to work fine and the job seems to work fine on all other policy models as well.

      See:
      https://jenkins.onap.org/job/policy-apex-pdp-sonar/302/

      00:33:53 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project apex-pdp: Unable to read /w/workspace/policy-apex-pdp-sonar/services/services-engine/../target/code-coverage/jacoco-ut.exec to determine JaCoCo binary format.

      This file is created when I build locally but either does not exist or has incorrect permissions in Jenkins.

      pdragosh

      Update: The file is created when I build locally but it is empty.

            liamfallon liamfallon
            liamfallon liamfallon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: