Skip to content

tuantoquq/jenkins-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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