Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J jruby-maven-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The TorqueBox Project
  • jruby-maven-plugins
  • Issues
  • #87
Closed
Open
Issue created Apr 30, 2016 by John Tims@johnktims

testReportDirectory cannot be changed

<plugin>
    <groupId>de.saumya.mojo</groupId>
    <artifactId>rspec-maven-plugin</artifactId>
    <version>1.1.5</version>
    <extensions>true</extensions>
    <configuration>
        <testReportDirectory>${project.build.directory}</testReportDirectory>
    </configuration>
    <executions>
        <execution>
            <phase>test</phase>
            <goals>
                <goal>test</goal>
            </goals>
        </execution>
    </executions>
</plugin>

I've tried relative and absolute paths, but reports always end up in ${project.build.directory}/surefire-reports.

The reason I want to reconfigure this is because Jenkins looks for the test results in target/surefire-reports and I want to use the rspec_junit_formatter but I haven't found a way to specify the formatter I want rspec-maven-plugin to use so I add it to rspec.args like this:

mvn clean install -Drspec.args="--format RspecJunitFormatter --out target/surefire-reports/TEST-rspec-junit.xml ./src/test/ruby/"
Assignee
Assign to
Time tracking