Skip to content
Sam Gleske edited this page Mar 29, 2015 · 21 revisions

Welcome to the jervis wiki!

See the latest published Jervis API to assist with development.

Quickstart

If you want to see real quick what Jervis is like then check out the Quickstart guide. This method is also used for Developing Jervis to test build scripts.

Production

Jervis is a library. If you're going to run it in production you should build it into a Jar and include it in the Jenkins runtime classpath. You should also include the snakeyaml library in the Jenkins runtime classpath because the Jervis library depends on it. To create the jar do the following.

./gradlew build

Copy build/jervis.jar to your desired location. Generate the API documentation so that you may begin programming against it in your own Job DSL scripts.

./gradlew groovydoc

Use your own DSL scripts and configs

Jervis comes with comprehensive sample seed jobs and configs. Since Jervis will be running as a library from the classpath feel free to copy the sample seed jobs and configs into a separate repository and use them. Let's call this your DSL repository.

  • Sample seed jobs located in jobs/*.dsl.groovy
  • Sample configs located in src/main/resources/*.json

Configure your seed job similar to the Development version except configure it with your DSL repository.

Clone this wiki locally