Creating a Jenkins Job

Jenkins uses the concept of a job to represent any kind of user-defined task. A job can run your tests, migrate a database, push a WAR file out to a server, or run static analysis tools like Brakeman[68] to provide reports on code correctness. A job can even do things unrelated to your application, such as install software packages on the host. The possibilities are endless.

Let’s create a job that runs the tests for Twitalytics. This will automate your build process and make it more consistent. Browse to the Jenkins dashboard at http://localhost:8080 and follow the Create New Jobs link on the front page. On the next page, enter “twitalytics” for the name of the job, select Freestyle Project, and then click the OK button, ...

Get Deploying with JRuby 9k now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.