Rake

Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 4.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Search

Searching TeamCity 4.x Documentation

Table of Contents

Since TeamCity 4.0, the Ruby Rake support is bundled in TeamCity. For detailed information, please refer to the Rake Runner plug-in documentation.

This page contains reference information about the Rake build runner fields

Option Description
Build runner Select Rake from the drop-down list.

Rake Parameters

Option Description
Path to a Rakefile file Enter Rakefile path if you don't want to use a default one. Specified path should be relative to the Build Checkout Directory.
Rakefile content Type in the Rakefile content instead of using existing Rakefile. The new Rakefile will created dynamically from the specified content before running Rake.
Working directory Optional. Specify if differs from the Build Checkout Directory.
Rake tasks Enter tasks names separated by space character if you don't want to use 'default' task.
For example, 'test:functionals' or 'mytask:test mytask:test2'.
Additional Rake command line parameters Specified parameters will be added to 'rake' command line. The command line will have the following format:

Launching Parameters

Option Description
Ruby interpreter path Path to Ruby interpreter (Ruby or JRruby). If not specified the interpreter will be searched in the PATH. In this field you can use values of environment and system variables. For example:
Debug Check the Track invoke/execute stages option to enable showing Invoke stage data in the build log.

Tests Parameters

Option Description
Tests options(TESTOPTS) Additional options of Test::Unit test runner. If specified, Rake will be invoked with a "TESTOPTS={options}".
RSpec options(SPEC_OPTS) Additional options of RSpec specs runner. If specified, Rake will be invoked with a "SPEC_OPTS={options}".

XML Report Processing

Select a report type to import. You only need to import tests reports, if the automatic tests reporting fails to detect your tests.

Option Description
Import data from Select report format from a drop-down list. The following report formats are supported: PMD, Surefire, Ant JUnit, NUnit, and FindBugs.


Labels:

ruby ruby Delete
rake rake Delete
build build Delete
runner runner Delete
xml xml Delete
reports reports Delete
test test Delete
rakefile rakefile Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.