CI And CD With Jenkins

  • Suppose there are 2 server: A for Jenkins and B is Production Server
  • First, Jenkins must be set up on server A (off course).
  • Then, make sure that A can access B through SSH without passphrase.
  • Write a deploy script
  • Create a job on Jenkins
  • Settings service on GitHub (GitLab, Bitbutket,...)
  • Done!