-
Notifications
You must be signed in to change notification settings - Fork 45
Home
Welcome to the jervis wiki!
See the latest published Jervis API to assist with development.
There are currently two ways of using and configuring Jervis.
To use Jervis to develop Jervis create a new freestyle project.
Check This build is parameterized and create a new text parameter named project. The project parameter will by used by firstjob.dsl.groovy.
Set the Source Code Management to Git and clone the Jervis project (or your version of it).
Add a new Build step called Process Job DSLs. Configure the following settings.
- DSL Scripts -
jobs/**/*.groovy - Action for existing jobs and views -
Ignore Changesshould be unchecked. - Action for removed jobs -
Ignore - Action for removed views -
Ignore - Advanced
- Context to use for relative job names -
Seed Job - Additional classpath -
src/main/groovy
- Context to use for relative job names -
When building the job the project parameter is the GitHub namespace/project. In my case, I set it to samrocketman/jervis to generate a job for the Jervis project.
Jervis is a library. If you're going to run it in production you should build it into a Jar and include it in your Jenkins Runtime classpath.
./gradlew build
Copy build/jervis.jar to your desired location.
Jervis comes with comprehensive sample seed jobs and configs.
- Build overview
- Supported languages
- Supported build tools
- Publish results
- Additional topics:
- Quickstart
- Background information
- Knowledge checklist
- Required Jenkins Plugins
- Labels for Jenkins Agents
- Key security concepts
- Operationalize Jenkins
- High availability
- Disaster recovery
- Pipeline support
- Extending support