Skip to content

This terraform code will install Jenkins in cloud and get you IP and URL details on terminal.

Notifications You must be signed in to change notification settings

jvsocial/tf-get-jenkins-on-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-get-jenkins-on-cloud

This terraform code will install Jenkins in cloud and get you IP and URL details on terminal.

  1. Please modify your provider section with your lab specific detais

  2. Run following command

    terraform init
    
    terraform plan
    
    terraform apply
    

    You should get IP add from the terminal where terraform was executed. Note that it takes time. image

    Check jenkins on ip with port 8080 image

  3. Get initial admin password, use this command

    sudo cat /var/lib/jenkins/secrets/initialAdminPassword
    

    above command are run in EC2 VM. there are various ways to connect to VM terminal.

    Click on Connect image

    image

    image

  4. Install Following plugins after you login to jenkins

  • docker pipeline
  • delivery pipeline
  • docker common plugins
  1. Delivery details
    • VM EC2 Created
    • Ansible installed
    • Jenkins installed using Ansbile

About

This terraform code will install Jenkins in cloud and get you IP and URL details on terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages