Here are the steps –
All the developers commit their source code changes to the shared Git repository.
Jenkins server checks the shared Git repository at specified intervals and detected changes are then taken into the build.
The build results and test results are shared to the developers
The built application is displayed on a test server like Selenium and automated tests are ran.
The clean and tested build is deployed to the production server.