{"id":35266597,"url":"https://github.com/sahanacodes7/jenkins","last_synced_at":"2026-04-14T06:02:44.661Z","repository":{"id":329385646,"uuid":"1119356352","full_name":"SahanaCodes7/Jenkins","owner":"SahanaCodes7","description":"End-to-end Jenkins CI/CD implementation on AWS EC2 covering Jenkins installation, Docker agent configuration, plugin setup, and pipeline-ready infrastructure for real-world DevOps workflows.","archived":false,"fork":false,"pushed_at":"2025-12-19T06:53:13.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-22T02:08:09.726Z","etag":null,"topics":["aws","aws-ec2","ci-cd","cicd-pipeline","cloud-devops","devops","docker","jenkins","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SahanaCodes7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-19T06:31:39.000Z","updated_at":"2025-12-19T06:58:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/SahanaCodes7/Jenkins","commit_stats":null,"previous_names":["sahanacodes7/jenkins"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/SahanaCodes7/Jenkins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahanaCodes7%2FJenkins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahanaCodes7%2FJenkins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahanaCodes7%2FJenkins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahanaCodes7%2FJenkins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SahanaCodes7","download_url":"https://codeload.github.com/SahanaCodes7/Jenkins/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SahanaCodes7%2FJenkins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","aws-ec2","ci-cd","cicd-pipeline","cloud-devops","devops","docker","jenkins","kubernetes"],"created_at":"2025-12-30T10:47:56.277Z","updated_at":"2026-04-14T06:02:44.656Z","avatar_url":"https://github.com/SahanaCodes7.png","language":"Python","readme":"\n# Jenkins CI/CD on AWS EC2\n\nThis repository demonstrates a complete Jenkins setup on AWS EC2, designed to create a CI/CD-ready environment using Docker-based build agents.  \nThe project highlights practical DevOps implementation commonly used in real-world production pipelines.\n\nKey objectives include installing Jenkins, configuring Docker as a Jenkins agent, enabling CI/CD workflows, and preparing the setup for Kubernetes-based deployments.\n\n---\n\n## AWS EC2 Instance Setup\n\n- Log in to the AWS Management Console  \n- Navigate to **EC2 → Instances**  \n- Launch a new **Ubuntu-based EC2 instance**\n\n\u003cimg width=\"994\" alt=\"Screenshot 2023-02-01 at 12 37 45 PM\" src=\"https://user-images.githubusercontent.com/43399466/215974891-196abfe9-ace0-407b-abd2-adcffe218e3f.png\"\u003e\n\n---\n\n## Jenkins Installation\n\n### Prerequisites\n- Java (OpenJDK)\n\n### Install Java\n\n```bash\nsudo apt update\nsudo apt install openjdk-17-jre\n````\n\nVerify installation:\n\n```bash\njava -version\n```\n\n---\n\n### Install Jenkins\n\n```bash\ncurl -fsSL https://pkg.jenkins.io/debian/jenkins.io-2023.key | sudo tee \\\n/usr/share/keyrings/jenkins-keyring.asc \u003e /dev/null\n\necho deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \\\nhttps://pkg.jenkins.io/debian binary/ | sudo tee \\\n/etc/apt/sources.list.d/jenkins.list \u003e /dev/null\n\nsudo apt-get update\nsudo apt-get install jenkins\n```\n\n---\n\n## Network Configuration\n\nJenkins runs on **port 8080**, which must be allowed in the EC2 security group.\n\n### Steps:\n\n* EC2 → Instances → Select your instance\n* Open the **Security** tab\n* Edit inbound rules\n* Allow **TCP port 8080**\n\n\u003cimg width=\"1187\" alt=\"Screenshot 2023-02-01 at 12 42 01 PM\" src=\"https://user-images.githubusercontent.com/43399466/215975712-2fc569cb-9d76-49b4-9345-d8b62187aa22.png\"\u003e\n\n---\n\n## Access Jenkins\n\nOpen Jenkins in the browser using:\n\n```text\nhttp://\u003cEC2_PUBLIC_IP\u003e:8080\n```\n\n\u003e You can find the EC2 public IP address in the AWS EC2 console.\n\n### Initial Setup\n\nAfter accessing Jenkins:\n\n* Retrieve the initial admin password:\n\n```bash\nsudo cat /var/lib/jenkins/secrets/initialAdminPassword\n```\n\n* Paste the password into the Jenkins setup screen\n* Install suggested plugins\n* Create an admin user (recommended)\n\n\u003cimg width=\"1291\" alt=\"Screenshot 2023-02-01 at 10 56 25 AM\" src=\"https://user-images.githubusercontent.com/43399466/215959008-3ebca431-1f14-4d81-9f12-6bb232bfbee3.png\"\u003e\n\n---\n\n### Install Suggested Plugins\n\n\u003cimg width=\"1291\" alt=\"Screenshot 2023-02-01 at 10 58 40 AM\" src=\"https://user-images.githubusercontent.com/43399466/215959294-047eadef-7e64-4795-bd3b-b1efb0375988.png\"\u003e\n\nWait for Jenkins to complete the plugin installation.\n\n\u003cimg width=\"1291\" alt=\"Screenshot 2023-02-01 at 10 59 31 AM\" src=\"https://user-images.githubusercontent.com/43399466/215959398-344b5721-28ec-47a5-8908-b698e435608d.png\"\u003e\n\n---\n\n### Create Admin User\n\nCreating an admin user is recommended for long-term and production-like usage.\n\n\u003cimg width=\"990\" alt=\"Screenshot 2023-02-01 at 11 02 09 AM\" src=\"https://user-images.githubusercontent.com/43399466/215959757-403246c8-e739-4103-9265-6bdab418013e.png\"\u003e\n\nJenkins installation is now complete and ready for use.\n\n\u003cimg width=\"990\" alt=\"Screenshot 2023-02-01 at 11 14 13 AM\" src=\"https://user-images.githubusercontent.com/43399466/215961440-3f13f82b-61a2-4117-88bc-0da265a67fa7.png\"\u003e\n\n---\n\n## Install Docker Pipeline Plugin\n\nTo enable Docker-based builds in Jenkins:\n\n* Log in to Jenkins\n* Go to **Manage Jenkins → Manage Plugins**\n* Open the **Available** tab\n* Search for **Docker Pipeline**\n* Install the plugin and restart Jenkins\n\n\u003cimg width=\"1392\" alt=\"Screenshot 2023-02-01 at 12 17 02 PM\" src=\"https://user-images.githubusercontent.com/43399466/215973898-7c366525-15db-4876-bd71-49522ecb267d.png\"\u003e\n\nWait for Jenkins to restart after plugin installation.\n\n---\n\n## Docker Agent Configuration\n\n### Install Docker\n\n```bash\nsudo apt update\nsudo apt install docker.io\n```\n\n---\n\n### Grant Docker Permissions\n\nAdd Jenkins and Ubuntu users to the Docker group:\n\n```bash\nsudo usermod -aG docker jenkins\nsudo usermod -aG docker ubuntu\nsudo systemctl restart docker\n```\n\nRestart Jenkins to apply permission changes:\n\n```text\nhttp://\u003cEC2_PUBLIC_IP\u003e:8080/restart\n```\n\nDocker is now successfully configured as a Jenkins build agent.\n\n---\n\n## Project Outcome\n\n* Jenkins installed and configured on AWS EC2\n* Docker integrated as a Jenkins build agent\n* CI/CD-ready infrastructure established\n* Foundation prepared for Kubernetes and advanced DevOps workflows\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahanacodes7%2Fjenkins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahanacodes7%2Fjenkins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahanacodes7%2Fjenkins/lists"}