Automate Your Web

Aman Miglani
3 min readJul 12, 2020

--

INTERGRATION OF JENKINS WITH GIT AND YOUR WEB CODE

Automation is something one needs to survive in this fast paced world.This Digital world works on how fast you can serve your customer.So here, I come up with a used case that deals with automation of a change in website when passed by the developer

What is Devops?

DevOps is made up of two words(or say two processes) i.e Development And Operations.It is the practice done to automate and integrate the processes between software development team and IT Operation team.This practice make the process agile.Here , I am using “Jenkins” (a very famous tool which runs on the basis of Java)for continuous integration and continuous delivery

This Practical includes :

  1. Github
  2. Jenkins

So this practical begins with the pushing your repo to master and development branch.Basically, developer makes the changes in website and when the change is stable the developer branch do merge with master branch and display the desired changes in our live website.

Procedure to achieve the practical described above:

JOB1 : We want the webpage from the below displayed repository and that is too from master branch.So we provided the url for the same.We provided a trigger scheduled for every second such that if any change is made that can be shown up in our workspace and we can run a container to deploy our work.

JOB2: Same procedure as in job1 has been followed. The change will be in branch specifier, name of the container and port number has been done

JOB3: After checking up the code we can merge both the branches and schedule our job after job2.

This leds to completion of my task . I am really thankful to Mr. Vimal Daga to made me do such tasks and improve my tech knowledge and making me tech crazy And thnk you all for reading it. Have a happy Learning ahead!!!! :)

--

--

No responses yet