Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Rake Task Management Essentials

You're reading from   Rake Task Management Essentials Deploy, test, and build software to solve real-world automation challenges using Rake.

Arrow left icon
Product type Paperback
Published in Apr 2014
Publisher
ISBN-13 9781783280773
Length 122 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Andrey Koleshko Andrey Koleshko
Author Profile Icon Andrey Koleshko
Andrey Koleshko
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Rake Task Management Essentials
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
1. The Software Task Management Tool – Rake FREE CHAPTER 2. Working with Files 3. Working with Rules 4. Cleaning Up a Build 5. Running Tasks in Parallel 6. Debugging Rake Tasks 7. Integration with Rails 8. Testing Rake Tasks 9. Continuous Integration 10. Relentless Automation Index

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 http://192.168.33.10:8080/pluginManager, find the Rake plugin there, and install it.

  2. In the next step, create an application in Jenkins. To do so, go to http://192.168.33.10:8080/view/All/newJob. 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image