Fix flexmojos testing results reporting when running a maven2 build for flex projects

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When running flex related test cases in a maven2 build hudson will not retrieve the test results because it will only listen to surefire:test mojo. Flexmojos will behave similarly with surefire:test (put the results to target/surefire-results folder in the proper format) but Hudson will not pick the results after a build.

      One fix is to unconditionally run surefire:test on the project but in this way when the build fails the surefire:test mojos will not be run and the tests will not be picked up.

      This patch fixed the list of mojos observed by hudson for a maven build to treat flexmojos-maven-plugin:test-run mojo the same way it will treat a surefire:test mojo execution.

      The behaviour is the expected one:
      on a successfull build the test results are picked
      on a failed build the test results are picked too.

            Assignee:
            mtoader
            Reporter:
            mtoader
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: