Jenkins
Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software
Last updated
Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software
Last updated
In last Section we did a lot of stuff:
Launched EC2 instances.
Installed JAVA and edited .bash_profile with vim editor.
Installed MAVEN and edited .bash_profile with vim editor.
In this part of the project, we will Install Jenkins and Git. First of all, make sure you are in the home of the root user. (you can do it by running "sudo su -
" command.
Now paste this command one by one to get rpm (RPM stands for Redhat Package Manager) same as yum and wget but Jenkins is available on rpm so follow the steps
After completing these steps you have Jenkins running on your server to check copy your ec2 public IP address and access it on port 8080 (ip:8080)
Now as you can see the password is the path given a copy the path and in your terminal run cat
($path) and you will get the password. Enter the password and you will see the Jenkins Setup wizard
Go with Install Suggested plugins
Let the installation be complete. In the next window fill in the details and create a user.
Instance Configuration >> Save and Continue. Your Jenkins is ready!
Why are we installing Git?
To fetch code from Github to Jenkins which will create build file.
Run the commands: