Build with Rake
QuickBuild supports Ruby Rake based build through the Rake build step. Rake build step can be added by selecting menu item Build -> Rake from the step menu.
QuickBuild calls the command rake to run Rake build script. If this command is not in system path, you will need to specify its location in plugin setting of the Ruby Rake plugin through Plugin Management page.
Further more, rake command location can be specified on a per-node basis by following below steps:
-
Open Ruby Rake plugin setting page and set the property Rake Executable Path as:
${node.getAttribute("rakePath")}
-
For each node that does not have command rake on system path, [define the user attribute](Working with Build Grid.html#WorkingwithBuildGrid-defineuserattributes) rakePath to point to the actual rake command path, for example:
rakePath=/home/robin/bin/rake
In case of user agent node, the user attribute need to be defined [in this way](Manage User Agent.html#ManageUserAgent-defineuserattributes).
Please note that in above example, the rakePath user attribute is just for demonstration purpose. You can use any other user attribute name.