Sonar fails if job configuration specifies the test goal only

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor
    • Component/s: sonar-plugin
    • None

      I've attached the sonar invocation to a Hudson job which is configured to run mvn test. This is a maven 2 job, with a multi-module project. I've configured Sonar to only run the analysis on 'build periodically' - which happens every night, while the regular job runs after each commit.

      Unfortunately, after the first part of the build (mvn test) succeeds, the sonar invocation fails , being unable to resolve the modules. This worked before, when the job was configured to run mvn install, but that has changed for performance reasons.

      It would be good to allow sonar to run after a test invocation, so that I can skip configuring another Hudson job.

            Assignee:
            Sonar Team
            Reporter:
            Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: