Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 636 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 636 Bytes

SAMPLE JENKINS PIPELINE WITH GITHUB, DOCKER AND SSH

Started

  1. Create aws resources
# create terraform.tfvars contains aws access key and secret key information
$ cd terraform
$ terraform init
$ terraform plan
$ terraform apply --auto-approve
  1. Add Jenkins credentials
  • Create registry_credentials type "Username with Password"
  • Create git_credentials type "Username with Password"
  • Create backend-ssh-server type "SSH Username with private key"
  1. Create Jenkins pipeline and start pipeline

Technology

  • Jenkins
  • Docker
  • Terraform

Architecture for sample project

architecture image