Jenkins, From Zero To Hero: Become a DevOps Jenkins Master
0% Completed
Subtitle Guide – Hướng dẫn thêm phụ đề
1. Resources for this course
2. Introduction & Installation
Subtitle File Resource
Reading
1. Introduction to the course
Video - 00:02:02 mins
2. Note About the Lab
Reading
3. Start building your Lab - Create a Virtual Machine using VirtualBox
Video - 00:01:13 mins
4. Start building your Lab - Install CentOs
Video - 00:06:07 mins
5. Start building your Lab - Configure Putty
Video - 00:04:28 mins
6. Install Docker
Video - 00:04:42 mins
7. Install Docker Compose
Video - 00:01:22 mins
8. Download the Jenkins Docker Image
Video - 00:02:46 mins
9. Create a Docker Compose file for Jenkins
Video - 00:07:25 mins
10. Create a Docker Container for Jenkins
Video - 00:07:02 mins
11. Troubleshooting Jenkins not coming up
Reading
12. Create a local DNS for your Jenkins server
Video - 00:01:58 mins
13. Note You should keep using putty
Video - 00:02:16 mins
14. Learn how to work with Docker and Jenkins
Video - 00:03:16 mins
15. Bonus
Reading
3. Getting Started with Jenkins
Subtitle File Resource
Reading
1. Introduction to Jenkins UI
Video - 00:02:02 mins
2. Hands On! Create your first Jenkins Job
Video - 00:04:31 mins
3. Keep playing with your first Job
Video - 00:03:51 mins
4. Redirect your first Job's output
Video - 00:05:12 mins
5. Learn how to execute a bash script from Jenkins
Video - 00:07:28 mins
6. Add parameters to your Job
Video - 00:05:30 mins
7. Learn how to create a Jenkins list parameter with your script
Video - 00:02:27 mins
8. Add basic logic and boolean parameters
Video - 00:08:03 mins
4. Jenkins & Docker
Subtitle File Resource
Reading
1. Docker + Jenkins + SSH - I
Video - 00:07:13 mins
2. Troubleshooting remote-host image not building correctly
Reading
3. Docker + Jenkins + SSH - II
Video - 00:05:12 mins
4. Docker + Jenkins + SSH - III
Video - 00:10:24 mins
5. Learn how to install Jenkins Plugins (SSH Plugin)
Video - 00:02:54 mins
6. Integrate your Docker SSH server with Jenkins
Video - 00:05:04 mins
7. Run your a Jenkins job on your Docker remote host through SSH
Video - 00:03:37 mins
5. Jenkins & AWS
Subtitle File Resource
Reading
1. Introduction MySQL + AWS + Shell Scripting + Jenkins
Video - 00:01:11 mins
2. Create a MySQL server on Docker
Video - 00:06:11 mins
3. Install MySQL Client and AWS CLI
Video - 00:06:37 mins
4. Create a MySQL Database
Video - 00:03:45 mins
5. Create a S3 Bucket on AWS
Video - 00:01:47 mins
6. Create a user (IAM) for AWS authentication
Video - 00:01:50 mins
7. Learn how to take a backup and upload it manually to S3
Video - 00:06:49 mins
8. Automate the backup and upload process with a shell script
Video - 00:04:40 mins
9. Integrate your script with AWS CLI
Video - 00:04:44 mins
10. Learn how to manage sensitive information in Jenkins (Keys, Passwords)
Video - 00:02:44 mins
11. Create a Jenkins job to upload your DB to AWS
Video - 00:06:50 mins
12. Execute your Job and be happy!
Video - 00:02:42 mins
13. Persist the script on the remote host
Video - 00:04:45 mins
14. Reuse your Job to upload different DB's to different buckets
Video - 00:02:20 mins
6. Jenkins & Ansible
Subtitle File Resource
Reading
1. Introduction Jenkins + Ansible
Video - 00:1:00 mins
2. Install Ansible Docker + Jenkins
Video - 00:11:00 mins
3. Make the ssh keys permanent on the Jenkins container
Video - 00:06:03 mins
4. Create a simple Ansible Inventory
Video - 00:09:57 mins
5. Create your first Ansible Playbook
Video - 00:07:14 mins
6. Integrate Ansible and Jenkins (Ansible Plugin)
Video - 00:01:48 mins
7. Learn how to execute Playbooks from a Jenkins Job
Video - 00:05:16 mins
8. Power up! Add parameters to Ansible and Jenkins
Video - 00:06:17 mins
9. Missing the colors Colorize your playbooks' output
Video - 00:03:19 mins
10. Challenge Jenkins + Ansible + MySQL + PHP + NGINX + Shell Scripting
Video - 00:01:54 mins
11. Create the DB that will hold all the users
Video - 00:02:25 mins
12. Create a Bash Script to feed your DB - I
Video - 00:08:09 mins
13. Create a Bash Script to feed your DB - II
Video - 00:05:28 mins
14. Test your Script inserting the data to the DB
Video - 00:03:17 mins
15. Start building a Docker Nginx Web Server + PHP - I
Video - 00:06:43 mins
16. Start building a Docker Nginx Web Server + PHP - II
Video - 00:05:05 mins
17. Build a table using HTML, CSS and PHP to display users
Video - 00:02:39 mins
18. Integrate your Docker Web Server to the Ansible Inventory
Video - 00:03:43 mins
19. Create a Playbook in Ansible to update your web table
Video - 00:05:40 mins
20. Test your playbook and see the magic!
Video - 00:05:09 mins
21. Ready Let's create a Jenkins Job to build everything with a click!
Video - 00:04:35 mins
7. Jenkins & Security
Subtitle File Resource
Reading
1. Intro - Learn how to EnableDisable Login in Jenkins
Video - 00:02:54 mins
2. Allow users to sign up
Video - 00:02:59 mins
3. Install a powerful security plugin
Video - 00:02:24 mins
4. Create users manually in the Jenkins DB
Video - 00:03:30 mins
5. Ever heard about roles Let's create a Read Only role!
Video - 00:01:54 mins
6. Assign the role that you created to a particular user
Video - 00:04:25 mins
7. Create a role to execute jobs, and assign that role to your user
Video - 00:02:54 mins
8. Learn how to restrict Jobs to users using Project Roles.
Video - 00:05:55 mins
8. Jenkins Tips & Tricks
Subtitle File Resource
Reading
1. Global environment variables in Jenkins
Video - 00:03:55 mins
2. Create your own custom global environment variables
Video - 00:03:24 mins
3. Modify the Jenkins URL
Video - 00:01:50 mins
4. Meet the Jenkins' cron Learn how to execute Jobs automatically
Video - 00:06:24 mins
5. Learn how to trigger Jobs from external sources Create a generic user
Video - 00:03:27 mins
6. Troubleshooting Githooks throwing 403 forbidden errors
Reading
7. Trigger your Jobs from Bash Scripts (No parameters)
Video - 00:07:18 mins
8. Trigger your Jobs from Bash Scripts (With Parameters)
Video - 00:06:15 mins
9. Jenkins & Email
10. Jenkins & Maven
Subtitle File Resource
Reading
1. Introduction Jenkins & Maven
Video - 00:01:38 mins
2. Install the Maven Plugin
Video - 00:01:07 mins
3. Install the GIT Plugin
Video - 00:00:50 mins
4. Learn how to clone a GITGITHUB repository from Jenkins
Video - 00:04:35 mins
5. Learn how to build a JAR using maven
Video - 00:05:29 mins
6. Learn how to test your code
Video - 00:04:59 mins
7. Deploy your Jar locally
Video - 00:03:38 mins
8. Display the result of your tests using a graph
Video - 00:03:15 mins
9. Archive the last successful artifact
Video - 00:02:34 mins
10. Send Email notifications about the status of your maven project
Video - 00:03:10 mins
11. Jenkins & GIT
Subtitle File Resource
Reading
1. Create a Git Server using Docker
Video - 00:08:58 mins
2. Create your first Git Repository
Video - 00:01:39 mins
3. Create a Git User to interact with your Repository
Video - 00:02:14 mins
4. Upload the code for the Java App in your Repo
Video - 00:05:34 mins
5. Integrate your Git server to your maven Job
Video - 00:04:51 mins
6. Learn about Git Hooks
Video - 00:03:53 mins
7. Trigger your Jenkins job using a Git Hook
Video - 00:04:45 mins
12. Jenkins & DSL
Subtitle File Resource
Reading
1. Introduction Jenkins DSL
Video - 00:01:02 mins
2. Install the DSL Plugin
Video - 00:01:05 mins
3. What is a Seed Job in DSL
Video - 00:01:40 mins
4. Understand the DSL Structure
Video - 00:03:15 mins
5. Description
Video - 00:02:33 mins
6. Parameters
Video - 00:03:09 mins
7. SCM
Video - 00:02:15 mins
8. Triggers
Video - 00:01:27 mins
9. Steps
Video - 00:03:37 mins
10. Mailer
Video - 00:01:48 mins
11. Recreate the Ansible Job using DSL
Video - 00:9:58 mins
12. Recreate the Maven Job using DSL
Video - 00:09:11 mins
13. Version your DSL code using Git
Video - 00:03:11 mins
14. Magic Create Jobs only pushing the DSL code to your Git server!
Video - 00:09:43 mins
13. CICD – Definitions
14. Jenkins Pipeline – Jenkinsfile
Subtitle File Resource
Reading
1. Introduction to Pipeline
Video - 00:02:53 mins
2. Introduction to Jenkinsfile
Video - 00:02:51 mins
3. Install the Jenkins Pipeline Plugin
Video - 00:01:07 mins
4. Create your first Pipeline
Video - 00:04:34 mins
5. Add multi-steps to your Pipeline
Video - 00:02:35 mins
6. Retry
Video - 00:02:46 mins
7. Timeouts
Video - 00:02:33 mins
8. Environment variables
Video - 00:01:57 mins
9. Credentials
Video - 00:02:59 mins
10. Post actions
Video - 00:03:14 mins
15. CICD + Jenkins Pipeline + Docker + Maven
Subtitle File Resource
Reading
1. Introduction
Video - 00:01:09 mins
2. Learn how to install Docker inside of a Docker Container
Video - 00:09:41 mins
3. Define the steps for your Pipeline
Video - 00:01:44 mins
4. Build Create a Jar for your Maven App using Docker
Video - 00:12:23 mins
5. Build Write abash script to automate the Jar creation
Video - 00:04:25 mins
6. Build Create a Dockerfile and build an image with your Jar
Video - 00:06:13 mins
7. Build Create a Docker Compose file to automate the Image build process
Video - 00:04:34 mins
8. Build Write a bash script to automate the Docker Image creation process
Video - 00:06:19 mins
9. Build Add your scripts to the Jenkinsfile
Video - 00:02:19 mins
10. Test Learn how to test your code using Maven and Docker
Video - 00:01:56 mins
11. Test Create a bash script to automate the test process
Video - 00:01:55 mins
12. Test Add your test script to Jenkinsfile
Video - 00:00:59 mins
13. Create a remote machine to deploy your containerized app
Video - 00:06:28 mins
14. Push Create your own Docker Hub account
Video - 00:02:16 mins
15. Push Create a Repository in Docker Hub
Video - 00:00:48 mins
16. Push Learn how to PushPull Docker images to your Repository
Video - 00:02:45 mins
17. Push Write a bash script to automate the push process
Video - 00:06:09 mins
18. Push Add your push script to Jenkinsfile
Video - 00:01:11 mins
19. Deploy Transfer some variables to the remote machine
Video - 00:08:05 mins
20. Deploy Deploy your application on the remote machine manually
Video - 00:09:22 mins
21. Deploy Transfer the deployment script to the remote machine
Video - 00:06:11 mins
22. Deploy Execute the deploy script in the remote machine
Video - 00:02:56 mins
23. Deploy Add your deploy script to Jenkinsfile
Video - 00:00:42 mins
24. Create a Git Repository to store your scripts and the code for the app
Video - 00:04:08 mins
25. Create the Jenkins Pipeline. Finally!
Video - 00:03:23 mins
26. Modify the path when mounting Docker volumes
Video - 00:02:17 mins
27. Create the Registry Password in Jenkins
Video - 00:02:30 mins
28. Add the private ssh key to the Jenkins container
Video - 00:01:43 mins
29. Add post actions to Jenkinsfile
Video - 00:03:55 mins
30. Execute your Pipeline manually
Video - 00:04:10 mins
31. Create a Git Hook to automatically trigger your Pipeline
Video - 00:02:11 mins
32. Start the CICD process by committing new code to Git!
Video - 00:06:54 mins
Hey, there!
There’s a chance that your remote-host image won’t sucessfully build.
Why?
Well, in the course we are using centos:latest, which at that point was centos:7. In September/2019, centos 8 was released, and it’s downloaded instead of the 7 version when you use “latest”
Resolution:
1 – Change the from instruction and point to centos 7
FROM centos:7
2- Keep using centos 8 and modify these lines:
Change this
RUN useradd remote_user &&
echo "1234" | passwd remote_user --stdin && # Passwd command is deprecated on centos:8
mkdir /home/remote_user/.ssh &&
chmod 700 /home/remote_user/.sshto this:
RUN useradd remote_user &&
echo "remote_user:1234" | chpasswd &&
mkdir /home/remote_user/.ssh &&
chmod 700 /home/remote_user/.sshYou could also see errors related to sshd-keygen. If so, just change this line from :
RUN /usr/sbin/sshd-keygen
to
RUN ssh-keygen -A
Finish Course Early?
You have not completed all required lessons and assessments.
Your Progress
0%
