Book Image

Rake Task Management Essentials

By : Andrey Koleshko
Book Image

Rake Task Management Essentials

By: Andrey Koleshko

Overview of this book

Table of Contents (18 chapters)
Rake Task Management Essentials
About the Author
About the Reviewers

Configuring Jenkins to run rake tasks

Now it is time to demonstrate Jenkins in action. As we are going to run the rake tasks in our project build, we have to install the Rake plugin for Jenkins. Perform the following steps:

  1. Go to, find the Rake plugin there, and install it.

  2. In the next step, create an application in Jenkins. To do so, go to Fill in the job name and the project name (let it be Test rake task), select Build a free-style software project option from the proposed, and click on the OK button at the bottom of the page.

  3. You will be redirected to the configuration page of the created project. There, you will find the Build section with the Add build step dropdown. Choose the Invoke Rake option from the dropdown.

  4. You will see the Tasks input. Considering that we are going to run the Rake task db:migrate, fill in the field with this task.

  5. Now, we should configure the path to the folder of our Rake project...