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

Should be able to find test reports automatically when generated using maven-surefire-plugin

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-plugin
    • None

      Jenkins advertize that it has some automatic integration with Maven. I also use the default behavior for the test plug-ins so I don't see why I need to specify where the test reports will be.

      Extract from pom.xml:

      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <version>2.10</version>
      <configuration>
      <includes>
      <include>**/ConsultantSearchTests.java</include>
      </includes>
      </configuration>
      </plugin>

      Extract from console when the test run:

      [INFO] — maven-surefire-plugin:2.10:test (default-test) @ functional.tests —
      [INFO] Surefire report directory: C:\program files\hudson\jobs\OPS Smoketest Functional Tests\workspace\trunk\tests\functional\target\surefire-reports

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running com.onassignment.ops.tests.ConsultantSearchTests
      0 [main] INFO com.onassignment.ops.framework.TestUtils - Server used for testing is: http://oxgslcrsa01.oaifield.onasgn.com/gui/oxford/index.html
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.864 sec

      Results :

      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0

          [JENKINS-11672] Should be able to find test reports automatically when generated using maven-surefire-plugin

          There are no comments yet on this issue.

            Unassigned Unassigned
            sebtardif Sebastien Tardif
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: