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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.