Jenkins integrates well with the Ruby toolchain for common tasks that many Ruby developers are already running locally. Tasks such as executingRSpecorCucumber, generating documentation, running code analysis tools and deploying Ruby software can all be done through Jenkins.

Integrating test results

许多工具,我ike Cucumber, can natively output JUnit-formatted XML which integrates by default into Jenkins via the "Publish JUnit test result report" Post-build Action. For tools which do not generate the appropriately formatted XML by default, there are gems which add the necessary formatters, such asci_reporter.

Configured JUnit post-build action

By integrating the test reports into Jenkins, you can generate trends and reports. There are other plugins, such as theEmail Ext pluginwhich can also make use of these machine-readable test reports to send email notifications with only the failing test cases listed.

Trending RSpec test reports

Using plugins such as theCucumber Test Result pluginimprove the integration and discoverability of successful/unsuccessful Cucumber scenarios.

By integrating these tools into Jenkins, team members no longer need to attempt to parse thousands of lines of console output, but instead can more easily find the important information about a build.


Other presentations