Posts

Showing posts from February, 2019

Integrate Git with jenkins GUi and Pull code from GitHub

Image
 Go to the mobaXterm command prompt, Now Enter the command "yum install git" and press enter Then enter the git --version command for the check git version. Here my version is 2.39.1 which I highlighted. Now, go back into the  Jenkins Gui Now click on first left sidebar highlighted link, then click on the right side highlighted link to install plugins Now, Click on Available Plugins, then search into github. Now you can see this plugin .. select GitHub and Click on Install without restart button. let's complete the installation of all recommendation plugins, Then click go back tot he tope page link Now click on the left corner, New project Link and enter the project name click on free style, and then click on to the Ok button. Now in the next step, you can see Git option in Gui. Now select this Git option and enter your application Url from the GitHub Repository. i will give you here my sample repository link, which you can use it ::  https://github.com/parekhankit3/hell...

DevOps Project: Integrate Jenkins with project ps.

Image
 Click on left top corner New Project link. then, enter the name of project and choose free style. click Ok,  Now, wirte anything in the description box. then choose Execute shell because we are using Linux system Now, Enter the any command like we are entering "echo "hello world"" and "uptime". now click on Apply, then click on Save. project deployed. now click on left side bar link ' Build Now ' and the hilighted tick mark. Now you can see the below screen where ou can read project success. in this image you can read you executed code and uptime output, Now go in MobaXterm and enter command uptime you get same output with real time. like below output.   Thank you, we will see more detail into next part.. please like and comment it.

DevOps Project: Integrate Jenkins with project po.

Image
   Follow these all steps to integrate the sample project with Jenkins. 1) Make the Aws account and then make an Ec2 Instance with the name: Jenkins_Server 2)  open this link in a new tab https://pkg.jenkins.io/redhat-stable/ copy this code and past into MobaXterm and execute. If, you get error after first two code install please run " amazon-linux-extras  install  epel " command and install it. Then, Copy the command  java-openjdk11  and install  jenkins  command in MobaXterm. Check  through run command " amazon-linux-extras ",  epel  and  java-openjdk11  are  Enabled  or not. Once  Enabled , Now install " yum install   jenkins " command. Now check the status of Jenkins via command " service jenkins status " If  Disabled , run the command to start jenkins " service jenkins start " Now wait few minutes, your Jenkins will be start very soon. Now, Open the AWS EC2 --> Jenkins_server inst...