Jenkins CI
An overview
http://www.rvl.io/vineetreynolds/continuous-integration-and-jenkins
Vineet Reynolds
Red Hat
JBoss Developer Experience
CI ??
- Integrate often
- By merging shared workspaces
- Into a central repository
- Whose build is verified
- Through Automated Agents
Jobs in Jenkins
Instructions to carry out a set of build activities
A typical Job
- is triggered on an event
-
builds the project
-
verifies the project through automated tests
- and publishes the build to a repository
Pipelines
A sequence of connected jobs to provide increasing quality assurance.
useful Plugins
- Git plugin
- GitHub plugin
- Pipeline plugin
- cmakebuild plugin
- Gerrit plugin
More?
- Create multiple jobs instead of a uber job
- Split your code repository if it's too big
- Create jobs at the level of components and modules
- Limit console output - reduces stuck jobs
- Limit disk writes (logging/tracing) for faster jobs
- Monitor for memory leaks. Verify plugin quality.