RealTime Jenkins Pipelines

Jenkins Shared Library: Integrate Jenkins with Parent child Concept

Best practices of using CI Systems

Here, are some important best practices while implementing

  • Commit Early and Commit Often never Commit Broken Code
  • Fix build failures immediately
  • Act on metrics
  • Build-in every target environment Create artifacts from every build
  • The build of the software need to be carried out in a manner so that it can be automated
  • Do not depend on an IDE
  • Build and test everything when it changes
  • The database schema counts as everything
  • Helps you to find out key metrics and track them visually
  • Check-in often and early
  • Stronger source code control
  • Continuous integration is running unit tests whenever you commit code
  • Automate the build and test everyone
  • Keep the build fast with automated deployment

Disadvantages of CI

Here, are cons/drawbacks of Continuous Integration process:

  • Initial setup time and training is required to get acquainted with Cl server
  • Development of suitable test procedures is essential
  • Well-developed test-suite required many resources for Cl server
  • Conversion of familiar processes
  • Requires additional servers and environments
  • Waiting times may occur when multiple developers want to integrate their code around the same time

Tools for CI process

Here, are some most essential CI/CD tools:

  1. git
  2. sonarQube
  3. BlackDuck
  4. Fortify
  5. Maven
  6. Docker
  7. JFrog