Complete Jenkins Tutorial | Learn Jenkins From Scratch In 3 Hours 🎯| LambdaTest

  Рет қаралды 110,145

LambdaTest

2 жыл бұрын

This LambdaTest Jenkins Tutorial will help you learn the fundamentals of Jenkins and everything you need to know to get started with Jenkins.
Start FREE Testing: accounts.lambdatest.com/register?KZfaq&Organic&Sep21&CKxl7Q_20I&LT_Sign_Up
Continuous Testing With Jenkins Pipeline On Selenium Grid Cloud: - bit.ly/3Ax5Mij
This Jenkins Tutorial for beginners and professionals will help you learn how to use Jenkins, one of the most popular CI/CD tools used in DevOps. In this course, Moss(@tech_with_moss), a DevOps engineer, helps you understand how Continuous Integration and Continuous Delivery happens with Jenkins. This video course covers the basics of Jenkins, how Jenkins works, Jenkins architecture, Jenkins and GitHub integration, and Jenkins installation & configuration. During this course, you will also learn a step-wise approach for creating your first Jenkins Pipeline, integrating Maven and Jenkins with Selenium, and performing cross browser testing with Jenkins Plugin. By the end of this video, you will know some of the Jenkins best practices that will help you automate the software development pipeline and get better results with this DevOps tool.
You will learn:
🔸 What is Jenkins?
🔸 What is Jenkins and why do we use it?
🔸 What are the features of Jenkins?
🔸 How does Jenkins integrate with GitHub?
🔸 What Jenkins is used for?
🔸 How Jenkins works in real-time?
Vɪᴅᴇᴏ Cʜᴀᴘᴛᴇʀꜱ
0:00:00 Introduction to Jenkins full course tutorial
0:06:10 Understanding what is Jenkins
0:25:18 Jenkins installation and configuration
0:32:00 How to integrate Jenkins and GitHub
0:58:17 How to create Jenkins Job for Maven project
1:14:22 Adding Jenkins Controller and agent node for Windows
1:26:11 Adding Jenkins Controller and Jenkins agent node in Azure
1:44:09 Understanding Jenkins Pipeline
2:12:53 Cross Browser Testing With LambdaTest Jenkins Plugin
2:52:04 Conclusion of Session
Complete Tutorial Series
What is Jenkins, and Why is it used? | Part I: bit.ly/3fzh1il
How to Install and Configure Jenkins? | Part II: bit.ly/2VZhNhl
How To Install Maven Plugin | Part III: bit.ly/38CcOqh
Jenkins GitHub Integration | Part IV: bit.ly/3skqHSJ
Creating Jenkins Job For Maven Project | Part V: bit.ly/3g6mflN
How To Add Jenkins Controller & Agent Node for Windows | Part VI: bit.ly/3yPowZZ
Add a Jenkins controller and Jenkins agent node in azure | Part VII: bit.ly/37IOx14
Jenkins Pipeline Tutorial | Part VIII: bit.ly/3iUVP8B
Cross-Browser Testing With LambdaTest Jenkins Plugin | Part IX: bit.ly/3jUH4ln
Blogs:
What is Jenkins used for?: bit.ly/3tJ2Bkz
How To Set Jenkins Pipeline Environment Variables?: bit.ly/2VFRM6K
Best Jenkins Pipeline Tutorial For Beginners [Examples]: bit.ly/3fTihwW
How To Set Up Continuous Integration With Git and Jenkins?: bit.ly/3xBuk7N
Are You Following These Jenkins Best Practices?: bit.ly/3kvqHNE
Learning Hub and Support Documents:
Jenkins Tutorial: bit.ly/3vaaPT2
Jenkins Plugin for Integration With LambdaTest: bit.ly/3CJqNHL
Integrating Your Jenkins Pipeline With LambdaTest: bit.ly/3hZN6Rm
Sign Up for LambdaTest! It’s FREE!
Conduct live interactive cross-browser compatibility testing of websites and web apps on latest mobile and desktop browsers: accounts.lambdatest.com/register?KZfaq&Organic&Sep21&CKxl7Q_20I&LT_Sign_Up_1
Register Now to Avail Bonanza Offerings
+ Test website on 2000+ mobile and desktop browser environments over LambdaTest cloud
+ Online scalable Selenium Grid to perform Manual testing as well as Automation testing
+ 100 minutes of free automated testing
For questions: support@lambdatest.com
YOU NEED TO KNOW
🎬 Most Recent Videos: bit.ly/3kUUeAQ
🎓 Learn More At LambdaTest: bit.ly/3fr6l4Z
🎥 LambdaTest Customers: bit.ly/2TB7pvD
🚀 Webinars: bit.ly/37i41co
🛠️ Product Updates: bit.ly/3717NGO
💬 LambdaTest Certifications: bit.ly/3x4EtcY
📢 FREE For Limited Time Only 🕑, Enroll Now!
SOCIAL
📝 BLOG: bit.ly/3yGVsUc
👥 COMMUNITY: bit.ly/3Aiz5oO
🔴 NEWSLETTER: bit.ly/3juhxzc
🖼️ GITHUB: bit.ly/3jowfYs
🛠️ KZfaq: bit.ly/3rH2Yfh
🌎 LINKEDIN: bit.ly/3xA6F84
👥 FACEBOOK: bit.ly/37mbQOa
🐦TWITTER: bit.ly/3Cn0g3A
📸 PINTEREST: bit.ly/2VCXI05
#testautomation #crossbrowsertesting #tutorial #testing #Selenium #software #webdeveleopment #jenkins #devops #developers #softwaretesting #jenkinstutorial #automationtesting
Disclaimer: This video features materials protected by the Fair Use guidelines of Section 107 of the Copyright Act. All rights reserved to © 2021 LambdaTest. Any illegal reproduction of this content will result in immediate legal action.

Пікірлер: 113
@RokktimBiswas07
@RokktimBiswas07 2 жыл бұрын
Nicely demonstrated.
@thedevguild7525
@thedevguild7525 2 жыл бұрын
Hi Moss, appreciate the step by step explanation and walkthrough, I find it very helpful in my course of work!
@LambdaTest
@LambdaTest 2 жыл бұрын
Glad it was helpful!
@Effaceurs90
@Effaceurs90 2 жыл бұрын
awesome, thanks a lot for the video. Highly appreciated.
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks Effaceurs
@ruchitaayare9336
@ruchitaayare9336 2 жыл бұрын
Thank you for amazing videos .Really appreciated !!
@LambdaTest
@LambdaTest 2 жыл бұрын
Glad you like them!
@sincethatmoment
@sincethatmoment Жыл бұрын
Moss, this is crystal clear, well constructed video. Good job. You have great explanation skills.
@LambdaTest
@LambdaTest Жыл бұрын
Glad it was helpful! Subscribe, and look forward to more such tutorials! ✨
@georgeedgeworth915
@georgeedgeworth915 2 жыл бұрын
You are the best Mosh, really great video!
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks George
@techdude_bb
@techdude_bb 9 ай бұрын
Thanks Moss, this was really a great help!
@LambdaTest
@LambdaTest 9 ай бұрын
Glad you liked the video, Please subscribe to our KZfaq channel for more such videos 🌟
@bigFinLittleFin
@bigFinLittleFin 2 жыл бұрын
Good stuff, thank you for the work you put in to make this easy to understand. I'm pretty new to web dev in general and could've used a little more context on setting Jenkins up on an EC2 instance but I'll figure it out elsewhere. Please keep em coming!
@LambdaTest
@LambdaTest 2 жыл бұрын
Glad you liked it Andrew
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Andrew, here are steps to follow for EC2 Launch: 1. Sign in to the AWS Management Console. 2. Open the Amazon EC2 console by choosing EC2 under Compute. 3. From the Amazon EC2 dashboard, choose Launch Instance. 4. The Choose an Amazon Machine Image (AMI) page displays a list of basic configurations called Amazon Machine Images (AMIs) that serve as templates for your instance. Select the HVM edition of the Amazon Linux AMI (ami-08e4e35cccc6189f4). 5. Notice that this configuration is marked Free tier eligible. 6. On the Choose an Instance Type page, the t2.micro instance is selected by default. Keep this instance type to stay within the free tier. Next: Configure Instance Details. On Configure page: Number of instances: 1 Network: Select the VPC with public access Subnet: Select the subnet with public access Auto-Assign Public IP: Select this Enable if you want public IP to be attached to the instance. Click on Next: Add Storage On Storage page: Update the Storage size to 15 GB(30 GB free in the free tier for 1 year) Click on Next: Add Tags On the Tags page, provide the relevant tags and then click on Next: Configure Security Group On Security group page: Select security group if available else create a one and allow following Ports Http: 8080 for 0.0.0.0/0 Https: 443 for 0.0.0.0/0 Tcp: 22 for Your IP Click on Review and Launch On Review and Launch page: Review the configurations Click on the Launch button Select the Key pair to launch or create a new if not created and Download the newly created key pair Check the checkbox and Click On Launch instances Jenkins Setup: Connect to the EC2 Wait for the ec2 server to get up (Check on the Ec2 console for the instance status check - Both checks should be passed) On your local machine open the terminal and execute the following command to connect to the instance` ssh -i ec2-user@ Replace by your keypair path and with the EC2 Public IP You will see the authenticity of the host message - Enter yes Login to the ec2 successful Download & Start Jenkins Service: To ensure that your software packages are up to date on your instance, use the following command to perform a quick software update: sudo yum update -y Add the Jenkins repo using the following command: sudo wget -O /etc/yum.repos.d/jenkins.repo pkg.jenkins.io/redhat-stable/jenkins.repo Import a key file from Jenkins-CI to enable installation from the package: sudo rpm --import pkg.jenkins.io/redhat-stable/jenkins.io.key sudo yum upgrade Install Jenkins: sudo yum install Jenkins java-1.8.0-openjdk-devel -y Start Jenkins Service: sudo systemctl daemon-reload sudo systemctl start Jenkins sudo systemctl status Jenkins sudo systemctl enable Jenkins Configure Jenkins: Connect to :8080 from your favourite browser. You will be able to access Jenkins through its management interface: You will be asked to enter the initialAdminPassword, copy the secret from /var/lib/jenkins/secrets/initialAdminPassword from the EC2 machine by using the following command: sudo cat /var/lib/jenkins/secrets/initialAdminPassword The Jenkins installation script directs you to the Customize Jenkins page. Click Install suggested plugins. Once the installation is complete, Create First Admin User, click Save and Continue. You will now see the dashboard page of Jenkins and can create new jobs.
@khalilwali3126
@khalilwali3126 2 жыл бұрын
@@LambdaTest This is really worth praising that you actually replied with all the steps in a comment. This means a lot. Hope you get more views..
@T13mess
@T13mess 2 жыл бұрын
i spent money on a tutorial on Udemy and here i am ... this tutorial is more detailed than the one i spent money on. thank you
@LambdaTest
@LambdaTest 2 жыл бұрын
Great to hear Tarik!
@tranpaul4550
@tranpaul4550 2 жыл бұрын
same, browsing through Udemy Jenkins course but none of them is better than this youtube marathon. Kudo for lambdatest
@nagarajhegde3363
@nagarajhegde3363 2 жыл бұрын
You should make lot of technical videos. So patient, clear, concise but enough detail nevertheless. Non nonsense stuff. Really really liked the video, I'll keep coming back to the tutorial again and again. Thank you!
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks Nagaraj for your feedback. Glad that you are liking our videos. This surely motivates us to create more such videos
@abubakrshoaliev2775
@abubakrshoaliev2775 Жыл бұрын
You're incredible, thanks
@LambdaTest
@LambdaTest Жыл бұрын
Thanks Abubakr, Glad you liked it ✨
@guangqinghe7997
@guangqinghe7997 2 жыл бұрын
This is the best tutorial I have ever seen on Jenkins.
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks Guang
@thedevguild7525
@thedevguild7525 2 жыл бұрын
Totally agreed! This is the best. Think it is so good that all level of proficiency of jenkins can catch on easily and learn something.
@afzaalahmadali7102
@afzaalahmadali7102 2 жыл бұрын
Very nice and concise Jenkins Training
@LambdaTest
@LambdaTest 2 жыл бұрын
Glad you liked it!
@kareemyk119
@kareemyk119 2 жыл бұрын
Awesome
@mihirbhatt3322
@mihirbhatt3322 Жыл бұрын
Username it takes is "jenkins" while setting up the key credentials, and then we need to switch to that user (in cli) in order to generate key pair to make git connection work. here are the steps 1. switch to jenkins user sudo su - jenkins -s /bin/bash 2. Generate key pair ssh-keygen 3. Configure private key in jenkins as described 4. Configure public key on git repository side in deploy key section 5. Test connection, it should work. Note: This steps are for jenkins in local machine , ubuntu 20.04.
@LambdaTest
@LambdaTest Жыл бұрын
Thanks mihir🖐🏻
@nickpanda4484
@nickpanda4484 7 ай бұрын
Thanks a lot my friend
@LambdaTest
@LambdaTest 7 ай бұрын
Glad it was helpful. Please subscribe to our KZfaq channel for more such videos 🌟
@user-xd5gs5ob1c
@user-xd5gs5ob1c 2 жыл бұрын
Greate job by putting up all these stuff together. Thank you! It seems the order of the chapters of creating agent on linux and windows should be swapped though.
@LambdaTest
@LambdaTest 2 жыл бұрын
Glad it was helpful! and Thanks for the suggestion :)
@michaelmacaulay2018
@michaelmacaulay2018 Жыл бұрын
Hi Moss, you migrated from using jenkins on your local machine to aws cloud. Can you explain this process please? Thank you.
@ahmadalabdm
@ahmadalabdm 2 жыл бұрын
Moss, Thank you body.. Great content
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks Ahmed!
@heberespinozaurra8393
@heberespinozaurra8393 2 жыл бұрын
50:55 Don't forget the forward slash at the end! It will save you a lot of time trying to troubleshoot that!
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Heber, Thanks for your input. :)
@mcorry6072
@mcorry6072 2 жыл бұрын
Thanks for the comprehensive overview of Jenkins, very well explained and articulated. One q, if I want to set my local machine with public address( haven't installed Jenkins on my GCP yet) can you recommend an easy way to do this? I've heard ngrok can accomplish this, but what would you recommend? Many thanks!
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks Corry. Let us get back to you on this.
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Corry, We had a similar desire to be able to access web services remotely. We considered using ngrok, but in our case, we didn't want to have separate public addresses for each service we were running on our network (services hosted on Raspberry Pis). Instead, we wanted to be able to operate as though our machine was connected to our network. For this use case, we used PiVPN, which helps you configure a VPN server. However, with your use case, we think ngrok might be an ideal choice since it is only the Jenkins service that you would like to expose. Having said that, our experience is still limited in this area, so we encourage you to do some additional research before making a final decision. We hope this helps!"
@vvishwa2034
@vvishwa2034 3 ай бұрын
Hi Moss you can smile sometimes in the video😃
@LambdaTest
@LambdaTest 3 ай бұрын
Of course! 😊 I'll definitely keep that in mind for the next video. Thanks for the feedback!
@ArsenGTS
@ArsenGTS 2 жыл бұрын
There is a special place in Paradise for people like You!
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey ArsenGTS, thanks for your kind words
@leolimabh
@leolimabh 2 жыл бұрын
Hello Moss, I really liked your very good explanation. Also you have a very good pronunciation to us, not native speakers! The only problem is that you were working from localhost and then magically went to AWS with your jenkins.
@LambdaTest
@LambdaTest 2 жыл бұрын
Glad it was helpful! We need public IP of Jenkins server to setup the webbook in GitHub( also mentioned in the pre-requisite of that video). In order to achieve GitHub-Jenkins integration we have moved our local Jenkins installations to AWS EC2 machine. You may follow the same process to create the Jenkins server on AWS EC2 machine and by using EC2 public IP you can configure webbook as well.
@jorgelucas7723
@jorgelucas7723 2 жыл бұрын
Teacher, I have a question... When you joined the Jenkins integration class with the GIT HUB, your jenkins moved from location to an instance on AWS... In order to proceed with the integration and the labs in the class, I need to abandon my local installation and install again jenkins in an instance on AWS?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey, We need the public IP of the Jenkins server to set up the webhook in GitHub( also mentioned in the pre-requisite of this video). In order to achieve Github-Jenkins integration, we have moved our local Jenkins installations to AWS EC2 machine. You may follow the same process to create the Jenkins server on AWS EC2 machine and by using EC2 public IP you can configure webhook as well.
@billsmoke3929
@billsmoke3929 2 жыл бұрын
Moss, thank you so much for this tutorial. I unfortunately had a DevOps interview that didn't go too well as I had knowledge of AWS, Docker, Kubernetes but not Jenkins. Would you recommend any resources for building a project for a resume/github relating to Jenkins? Thanks for the video!
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Bill, Sorry to hear that. Let us get back to you on this
@billsmoke3929
@billsmoke3929 2 жыл бұрын
@@LambdaTest Appreciated :)
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Bill, you can go through this blog link (devopscube.com/jenkins-build-trigger-github-pull-request/) where CI has been explained very nicely which is the core principle of DevOps culture. It connects GitHub and Jenkins both.
@Runeblade484
@Runeblade484 2 жыл бұрын
As an absolute beginner, I can say that it would be nice if you walked people through setting up that simple git repo so we could follow along with you. Also, you do assume the viewer knows certain things, such as when you cat the keys. You did it so quickly I had a hard time pausing the video to see exactly what you were catting. Just some thoughts on what I have seen so far.
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Runeblade, thanks for your feedback. Will try to incorporate your inputs while trying to create next set of videos
@peterpeterli8064
@peterpeterli8064 2 жыл бұрын
good
@death23000
@death23000 2 жыл бұрын
Thanks for this amazing tutorial. I had an issue with trying to set up the web hook, cant use local host url of course. Is there a work around this ? did i miss something ?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Enrique, Can you elaborate more on the issue you are facing
@death23000
@death23000 2 жыл бұрын
@@LambdaTest I'm running Jenkins on local host and the url is not being accepted into workbooks,
@LambdaTest
@LambdaTest 2 жыл бұрын
Let me get back to you on this Enrique
@titokris5162
@titokris5162 2 жыл бұрын
Thanks for the great intro for far and I can already feel it's a great walk with you. How can I change the language interface to English on my Dashboard please ?
@LambdaTest
@LambdaTest Жыл бұрын
Hey Tito, you can try navigating to the main/home page of Jenkins, go to Manage Jenkins -> Configure System. Under Locale, there will be a field called "Default Language". Enter the new language. It could be "en" or "ENGLISH".
@titokris5162
@titokris5162 Жыл бұрын
@@LambdaTest Thanks a lot for your reply. Really appreciate it ;)
@anantpande1233
@anantpande1233 Жыл бұрын
Splendid! I have a question though, Is it necessary to configure both Github public access token and Github ssh key in Jenkins, isnt it redundant?
@LambdaTest
@LambdaTest Жыл бұрын
Thanks Anant! No, it is not redundant to configure both a GitHub public access token and a GitHub SSH key in Jenkins, as they serve different purposes and may be required for different Jenkins jobs. The access token is used for read-only operations, while the SSH key is used for write operations.
@anantpande1233
@anantpande1233 Жыл бұрын
@@LambdaTestThat’s very helpful, thank you :) … One more question, do I need to have git installed on the agent nodes as well, or installing it on controller will suffice ? And many apologies i could check it out practically as well, but haven’t had time to spare lately.
@LambdaTest
@LambdaTest Жыл бұрын
Hey Anant If your Jenkins setup has a controller and agent nodes requiring Git operations, you need to install Git on each agent node. Installing Git on the controller alone will not suffice for executing Git operations on the agents.
@EchoplexIsYours
@EchoplexIsYours 5 ай бұрын
i am not able to create a webhook as i am running locally as a local host how is your webhook not having error pls help with this btw great tutorial..
@LambdaTest
@LambdaTest 5 ай бұрын
Hey there, Thank you for your feedback on the tutorial! To create a webhook for Jenkins running on localhost, use a tunneling service like ngrok to expose your local server to the internet: Set Up ngrok: Download and set up ngrok from ngrok.com. Start ngrok Tunnel: Run ngrok to expose Jenkins. If Jenkins is on port 8080: ngrok http 8080 This gives you a public URL (e.g., 123abc.ngrok.io). Use ngrok URL for Webhook: In GitHub or Bitbucket, set the webhook URL to the ngrok URL, followed by /github-webhook/ (e.g., 123abc.ngrok.io/github-webhook/). Update Jenkins if Needed: Ensure Jenkins accepts requests from the ngrok URL.
@ZionMckoy
@ZionMckoy Жыл бұрын
Trying to update the url through jenkins url location in settings but the url stays at localhost even after restarting the app. Is there a way to visibly change the url for jenkins?
@LambdaTest
@LambdaTest Жыл бұрын
Hey Zion 👋🏻 Can you try with Manage Jenkins > Configure System there's a field Jenkins URL where you can specify exactly that. Please let us know if this helps.
@stephaneboghossian7664
@stephaneboghossian7664 2 жыл бұрын
Learn by doing 😉 You can use Brainboard.co to learn Jenkins! We also have a Jenkins Templates available for the community to duplicate and scale.
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks for sharing it Stephane!
@kaushikmishra2167
@kaushikmishra2167 Жыл бұрын
Hey Moss, @LambdaTest This is an absolutely amazing video. You have no idea how helpful it is even for an absolute beginner. One can do an entire set up by watching this video of yours. One thing I could not get is the 'vi ~/.ssh/authorized_keys' command in the agent VM. I believe many others also might have faced the same problem. For me the system said, "Can't open file for writing." Does, this file need to be created beforehand or are there any more steps which you skipped in the video. Please enlighten the audience. Regards MossFan :)
@LambdaTest
@LambdaTest Жыл бұрын
Glad! you liked it
@kaushikmishra2167
@kaushikmishra2167 Жыл бұрын
@@LambdaTest GoodMorning Moss, Is the command 'vi ~/.ssh/authorized_keys' in the agent VM only applicable for Linux machines or is it doable in Windows machine too. My windows machine says- 'Can't open file for writing'. Please help.
@raghavendramerugu
@raghavendramerugu Жыл бұрын
Hi Kaushit, I think it has something do with the permissions of the file you're trying to configure/edit or it has to with the permissions attached with the user. If its the file permission, then you may need to give it write access by chmod +x filename, is what I think. Please google once and then try to edit the file. Or you can simply go to the directory of the file and do an ls -l, which will list the permissions attached. I hope this helps
@raghavendramerugu
@raghavendramerugu Жыл бұрын
Chmod +w for write access
@Chrissamharris
@Chrissamharris 2 жыл бұрын
When do you go from a localhost configuration to hosting on an Amazon EC2 instance?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Christopher, In order to achieve Github-Jenkins integration, we have moved our local Jenkins installations to AWS EC2 machine. You may follow the below process to create the Jenkins server on an AWS EC2 machine and by using EC2 public IP you can configure the webhook as well: EC2 Launch: Sign in to the the AWS Management Console. Open the Amazon EC2 console by choosing EC2 under Compute. From the Amazon EC2 dashboard, choose Launch Instance. The Choose an Amazon Machine Image (AMI) page displays a list of basic configurations called Amazon Machine Images (AMIs) that serve as templates for your instance. Select the HVM edition of the Amazon Linux AMI (ami-08e4e35cccc6189f4). Notice that this configuration is marked Free tier eligible. On the Choose an Instance Type page, the t2.micro instance is selected by default. Keep this instance type to stay within the free tier. Next:Configure Instance Details. On Configure page: Number of instance: 1 Network: Select the VPC with public access Subnet: Select the subnet with public access Auto-Assign Public IP: Select this Enable if you want public IP to be attached on the instance. Click on Next:Add Storage On Storage page: Update the Storage size to 15gb(30 gb free in free tier for 1 year) Click on Next:Add Tags On Tags page, provide the relevant tags and then click on Next:Configure Security Group On Security group page: Select security group if available else create a one and allow following Ports Http: 8080 for 0.0.0.0/0 Https: 443 for 0.0.0.0/0 Tcp: 22 for Your IP Click on Review and Launch On Review and Launch page: Review the configurations Click on Launch button Select the Key pair to launch or create a new if not created and Download the newly created key pair Check the checkbox and Click On Launch instances Jenkins Setup: Connect to the EC2 Wait for the ec2 server to get up (Check on the Ec2 console for the instance status check - Both checks should be passed) On your local machine open terminal and execute the following command to connect to the instance` ssh -i ec2-user@ Replace by your kepair path and with the EC2 Public IP You will see authenticity of the host message - Enter yes Login to the ec2 successfull Download & Start Jenkins Service: To ensure that your software packages are up to date on your instance, use the following command to perform a quick software update: sudo yum update -y Add the Jenkins repo using the following command: sudo wget -O /etc/yum.repos.d/jenkins.repo pkg.jenkins.io/redhat-stable/jenkins.repo Import a key file from Jenkins-CI to enable installation from the package: sudo rpm --import pkg.jenkins.io/redhat-stable/jenkins.io.key sudo yum upgrade Install Jenkins: sudo yum install jenkins java-1.8.0-openjdk-devel -y Start Jenkins Service: sudo systemctl daemon-reload sudo systemctl start jenkins sudo systemctl status jenkins sudo systemctl enable jenkins Configure Jenkins: Connect to :8080 from your favorite browser. You will be able to access Jenkins through its management interface: You will be asked to enter the initialAdminPassword, copy the secret from /var/lib/jenkins/secrets/initialAdminPassword from the EC2 machine by using following command: sudo cat /var/lib/jenkins/secrets/initialAdminPassword The Jenkins installation script directs you to the Customize Jenkins page. Click Install suggested plugins. Once the installation is complete, Create First Admin User, click Save and Continue. You will now see the dashboard page of the Jenkins and can create New jobs.
@LOTUS-FLOWER
@LOTUS-FLOWER Жыл бұрын
@@LambdaTest hey, I faced that problem at 46:16 when using that way of jenkins' installation but when starting it using the war file it works as expected, what is the cause of that problem? // I tried to upgrade the java jdk and it doesn't work
@alimkugotov7193
@alimkugotov7193 Жыл бұрын
Thank you a lot, it's great, but the music sounds strange
@LambdaTest
@LambdaTest Жыл бұрын
Hey Alim, Thanks for liking the video. Sorry about the music, will try to remove it form the next time.
@hassanrahmani4764
@hassanrahmani4764 2 жыл бұрын
Hey Mosh so i learned Github Actions and Gitlab also in my opinion jenkins does i guess the same thing whats the point of learning jenkins when u can make CI/CD piplines using github actions i know ansible docker aws and basic knowldge of networking and load balancers i am learning it whats thye point of learning jenkins, Thanks in advance
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Hassan, let us get back to you on this
@LambdaTest
@LambdaTest Жыл бұрын
Hey Hassan, Both Jenkins and GitLab CI/CD have their own pros and cons and your final choice between the two CI/CD tools entirely depends upon the project requirements and specification. Hope that helps :)
@heyamjoe
@heyamjoe 2 жыл бұрын
50:43 How did we move from localhost to AWS?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey, In order to achieve Github-Jenkins integration, we have moved our local Jenkins installations to AWS EC2 machine. We need the public IP of the Jenkins server to set up the webhook in GitHub ( also mentioned in the pre-requisite of this video). You may follow the same process to create the Jenkins server on AWS EC2 machine and by using EC2 public IP you can configure webhook as well.
@heyamjoe
@heyamjoe 2 жыл бұрын
@@LambdaTest, thanks :)
@JoseManuel-lo2ed
@JoseManuel-lo2ed 11 ай бұрын
Hi mister master Moss My name is josé Manuel so, can you explain how will it be the integration of Maven project with gitlab? Best regards.
@JoseManuel-lo2ed
@JoseManuel-lo2ed 11 ай бұрын
Sorry the video tells it in the first hour, hahahahahaha. Best regards.
@LambdaTest
@LambdaTest 11 ай бұрын
🖖🏻🤟
@JoseManuel-lo2ed
@JoseManuel-lo2ed 11 ай бұрын
@@LambdaTest Hello again, now I am trying to connect gitlab with jenkins to make an integration but when I configure the conection in jenkins to gitlab and make a test conection, it showme this message "error HTTP 503 service unvailable", all is ok, the onlyone thing is that I have a proxy in the network so can you help me about that? Best regards.
@wuyeelok
@wuyeelok 2 жыл бұрын
How to install Jenkins in AWS??? And how to get an AWS EC2 in the first place?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hi Kenneth, Let us get back to you on this
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey, We moved our local Jenkins installations to AWS EC2 machine in order to achieve Github-Jenkins integration. We need the public IP of the Jenkins server to set up the webhook in GitHub ( also mentioned in the pre-requisite of this video). You may follow the same process to create the Jenkins server on AWS EC2 machine and by using EC2 public IP you can configure webhook as well.
@wuyeelok
@wuyeelok 2 жыл бұрын
@@LambdaTest Sorry, I couldn't find the prerequisites you mentioned.
@LambdaTest
@LambdaTest 2 жыл бұрын
@@wuyeelok We can follow this aws official doc to launch an ec2 instance on AWS ec2-immersionday.workshop.aws/launch-your-first-amazon-ec2-instance.html. Once we successfully create an ec2 instance, then we can install Jenkins as per the steps in the video.
@idjoooo
@idjoooo 2 жыл бұрын
i really like your video, this video is very helpfull if not one of the most helpfull jenkins tutorial, but please get yourself a code formatter 😂.
@LambdaTest
@LambdaTest 2 жыл бұрын
Thanks for the tip!
@biscuithammer
@biscuithammer 2 жыл бұрын
I keep getting ModuleNotFoundError: No module named 'selenium' when doing the Cross-browser testing. Anybody figured out how to resolve this?
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey biscuithammer, Let us get back to you on this
@biscuithammer
@biscuithammer 2 жыл бұрын
@@LambdaTest Thanks! Great tutorial btw! :D
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey, you can try installing the Selenium package by running the below command: pip install selenium or depending on your permissions: sudo pip install selenium For python3: sudo pip3 install selenium
@randmwheeler
@randmwheeler 2 жыл бұрын
after restart my pw did not work any longer worked on local, so that ended. this video
@LambdaTest
@LambdaTest Жыл бұрын
Bloop, That could have happened due to lot of different reasons. Please give another try ;)
@kelechiokoroafor8732
@kelechiokoroafor8732 2 жыл бұрын
This is a really good tutorial but the background sound that played while you spoke should either be stripped off or have its volume significantly reduced. It was very distracting and annoying.
@LambdaTest
@LambdaTest 2 жыл бұрын
Hey Kelechi, Sorry for the background distraction. Will try to avoid or cut any such distractions/sound while creating the next video :)
@abdirahmanmahamoud5938
@abdirahmanmahamoud5938 Жыл бұрын
Hello, This morning I upgraded my Mac, and unfortunately I lost all my Jenkins jobs, settings, and plugins ... Has anyone ever encountered this problem and how did they solve it. I thank you Have a nice day
@LambdaTest
@LambdaTest Жыл бұрын
🤖
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 61 МЛН
бесит старшая сестра!? #роблокс #анимация #мем
00:58
КРУТОЙ ПАПА на
Рет қаралды 3,2 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,4 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 28 МЛН