{"id":14984656,"url":"https://github.com/aman9026/ci-using-jenkins","last_synced_at":"2026-02-15T23:31:17.856Z","repository":{"id":101248948,"uuid":"261723873","full_name":"Aman9026/CI-Using-Jenkins","owner":"Aman9026","description":"Integrating the repository with different environments of software production","archived":false,"fork":false,"pushed_at":"2020-05-07T08:06:47.000Z","size":5613,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T07:09:45.855Z","etag":null,"topics":["automation","ci","continuous-integration","devops","docker","docker-container","environment-configuration","git","github","jenkins","jenkins--service","jenkins-ci","jenkins-pipeline","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aman9026.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-06T10:19:36.000Z","updated_at":"2020-05-07T08:06:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"75bc02fc-2e55-4cfe-b221-b4fe5415fbd0","html_url":"https://github.com/Aman9026/CI-Using-Jenkins","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.33333333333333337","last_synced_commit":"3aba348ad1ee24d56128e94cbb33dd289b02b4e8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FCI-Using-Jenkins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FCI-Using-Jenkins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FCI-Using-Jenkins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aman9026%2FCI-Using-Jenkins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aman9026","download_url":"https://codeload.github.com/Aman9026/CI-Using-Jenkins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926389,"owners_count":20369971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","ci","continuous-integration","devops","docker","docker-container","environment-configuration","git","github","jenkins","jenkins--service","jenkins-ci","jenkins-pipeline","tutorial"],"created_at":"2024-09-24T14:09:28.449Z","updated_at":"2025-10-09T15:13:14.332Z","avatar_url":"https://github.com/Aman9026.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CI-Using-Jenkins\nIntegrating the repository with different environments of software production to synchronize the workflow.\n![](https://github.com/Aman9026/CI-Using-Jenkins/blob/master/data/images/1_jFpGk7qNLh9kbw_o-WOW1g.gif)\n\n---\n\n**Continuous integration** is a coding philosophy and set of practices that drive development teams to implement small changes and check in code to version control repositories frequently. Because most modern applications require developing code in different platforms and tools, the team needs a mechanism to integrate and validate its changes.\n![](https://github.com/Aman9026/CI-Using-Jenkins/blob/master/data/images/1_iKuaNfxgZSTe_J2x3PYRUg.png)\n\n---\n\nHere we will use **Docker, Git-hooks and Jenkins** to showcase a sample DevOps pipeline.\n![](https://github.com/Aman9026/CI-Using-Jenkins/blob/master/data/images/1_sHuwGqrg3cNlKkOX9ONUWQ.gif)\n\n## Sample Job-1\nIf Developer push to **dev** branch then Jenkins will fetch from dev and deploy on **dev-docker** environment.\n![](https://github.com/Aman9026/CI-Using-Jenkins/blob/master/DEMO/Job1.gif)\n\n## Sample Job-2\nIf Developer push to **master** branch then Jenkins will fetch from master and deploy on **master-docker** environment.\n\n*PS: both **dev-docker** and **master-docker** environment are on different docker containers.*\n![](https://github.com/Aman9026/CI-Using-Jenkins/blob/master/DEMO/Job2.gif)\n\n## Sample Job-3\nJenkins will check (test) for the website running in **dev-docker** environment. If it is running fine then Jenkins will merge the dev branch to master branch and trigger **#job 2**\nFor this we need to add two things:\n* First ```if sudo curl IP-Of-Dev-Env``` is true we can proceed with merging.\n* Add a post build trigger in **Jenkins** for building **#Job2**\n![](https://github.com/Aman9026/CI-Using-Jenkins/blob/master/DEMO/Job3.gif)\n\n***You are always welcome to add more or improve any resource in this repository by following [these](https://github.com/Aman9026/CI-Using-Jenkins/blob/master/CONTRIBUTING.md) instructions.***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faman9026%2Fci-using-jenkins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faman9026%2Fci-using-jenkins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faman9026%2Fci-using-jenkins/lists"}