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

Jenkins ??


A CI system that builds and tests  software projects continuously.



Home  Page : http://jenkins-ci.org


Installing on RHEL/Fedora


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?

TIPS

Curated  from

Red Hat on Jenkins : By the numbers

By Nam Duong


  • Use a Super awesome build server
  • A job per commit/push  - who broke the build?
  • Slaves for various configs, but then ... Beaker

.....





  • 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.






QUESTIONS ?

continuous integration and jenkins

By vineetreynolds

continuous integration and jenkins

  • 2,437