𝐃𝐚𝐲 𝟒 𝐨𝐟 𝟑𝟎 — 𝐉𝐞𝐧𝐤𝐢𝐧𝐬 Most dev teams don't fail at writing code. They fail at getting that code reliably from a developer's laptop to a running server — consistently, without breaking things. Jenkins is the tool that automates that entire journey. Today I set up Jenkins from scratch on Ubuntu, configured it with JDK, Maven, and Docker, then built both a Freestyle job and a full Pipeline — ending with the app automatically compiled, packaged, and deployed to the same Tomcat server I set up yesterday. Here's the simplest way to understand what Jenkins actually does: imagine every time a developer saves new code, someone has to manually test it, build it, and move it to the server. Jenkins replaces that person. The moment code is pushed, Jenkins wakes up, runs every check automatically, and either deploys it or tells you exactly what broke. The part that clicked hardest was Multi-Branch Pipelines. In real teams, multiple developers are working on different features simultaneously. Jenkins can spin up a separate automated pipeline for each branch — so no one is waiting, no one is blocking anyone else, and nothing reaches production untested. That's not a nice-to-have. That's how professional teams ship. Day 3 was about getting an app live manually. Day 4 is about never having to do that manually again. Follow along → #30DaysOfDevOps #30DaysOfDevOps #DevOps #Jenkins #CICD #CloudEngineering #LearningInPublic #PakistaniTech #TechKarachi
Jenkins Automates DevOps Journey from Code to Server
More Relevant Posts
-
🚀 Git Branching Strategies – The Backbone of Clean & Scalable Development In any DevOps or software development lifecycle, having the right Git branching strategy is crucial for maintaining code quality, enabling collaboration, and ensuring smooth deployments. Here are some of the most important branching strategies every developer should know 👇 🔹 1. Git Flow A structured approach with dedicated branches like main, develop, feature, release, and hotfix. ✔ Best for large teams & release-based projects 🔹 2. Feature Branching Each feature is developed in its own branch and merged back after completion. ✔ Keeps main branch stable ✔ Encourages parallel development 🔹 3. Trunk-Based Development Developers commit frequently to a single branch (main/trunk). ✔ Ideal for CI/CD environments ✔ Faster integrations, fewer merge conflicts 🔹 4. Release Branching Separate branches created for preparing production releases. ✔ Stabilizes code before deployment ✔ Allows ongoing development in parallel 🔹 5. Forking Workflow Common in open-source projects where contributors fork repositories. ✔ Enhances security and collaboration #AWS #CloudDevOPs #Linux #CI/CD #Docker #EKS #Kubernetes #Terraform #Jenkins #Harness #Monitoring Tools #Git #Github #python
To view or add a comment, sign in
-
-
Your code lives in two places. Your laptop and GitHub. They do not automatically stay in sync. git push sends your local commits to GitHub. Your teammates can now see your work. git pull brings their new commits to your laptop. You are now up to date. That is the entire model. Push sends. Pull receives. Always pull before you push. It saves you from unnecessary merge conflicts. #Git #GitHub #SoftwareEngineering #VersionControl #DevOps
To view or add a comment, sign in
-
-
Week 3 done. This one hit different. Git isn't just commands—it's how real teams collaborate without breaking production. I simulated a complete Git Flow this week: feature branches, release branches, hotfix workflows. Seeing that full branch graph with merges, tags, and proper history was satisfying. Then came Day 11. My first comprehensive exam covering everything from Linux to Git. Twenty questions, ten hands-on tasks, real-world scenarios. Passed with 90%. But here's what mattered more: when the exam had questions on topics we hadn't covered, I called it out. Not rudely, just directly. My teacher listened, apologized, and changed the rule: "Only test what's been taught." Small win, but it felt important. Quick wins this week: Resolved my first merge conflict (those <<<<<<< markers make sense now) Learned git stash for context switching Ran a complete hotfix simulation (v1.0 → v1.0.1) 36+ scripts now on GitHub My portfolio is live at https://lnkd.in/ggFmPwEm. Next week: Docker. If you're learning DevOps—don't just watch tutorials. Break things. Fix them. Document it. That's where learning happens. #DevOps #Git #LearningInPublic #DevOpsJourney #CareerTransition
To view or add a comment, sign in
-
-
Git tip 10! You're mid-feature. Someone needs a bug fixed on another branch. Don't commit half-finished work, making a mess of your history. Use git stash instead. Your changes are saved, your directory is clean, and when you come back, everything is exactly where you left it. Want to know more? My full Git Essentials course teaches all the basics. Link in first comment #git #github #gittips #devops #softwaredevelopment
To view or add a comment, sign in
-
🚀 Day 13 of #100DaysOfDevOps Today I explored some powerful Git commands that help in better code management and recovery: 🔹 Config – Set up Git username, email, and preferences 🔹 Ignore – Avoid tracking unnecessary files using .gitignore 🔹 Amend – Modify the last commit (message or changes) 🔹 Reset – Undo changes and move to a previous state 🔹 Reflog – Track all Git actions and recover lost commits 🔹 Cherry-pick – Apply a specific commit from one branch to another 💡 These commands are very useful in real projects for fixing mistakes, managing commits, and maintaining clean history. 📌 Learning step by step, improving every day! #DevOps #Git #VersionControl #LearningJourney #TechSkills #100DaysOfCode
To view or add a comment, sign in
-
-
Wrote a short note on something I recently found useful while working with Git — git cherry-pick. It helped me move specific commits across branches without merging everything, especially in a GitFlow setup. Tried to keep it simple and practical. Read here: https://lnkd.in/dt4xQ7Da #git #devops #versioncontrol
To view or add a comment, sign in
-
I just went from zero Git knowledge to a full branching workflow — here's every command you need to know Save this. I wish I had this when I started. ━━━━━━━━━━━━━━━━━━━━━━ CORE COMMANDS — use these every day → git init ............... Start a new repo → git add . .............. Stage all changes → git commit -m "msg" .... Save a snapshot → git push origin main ... Push to GitHub → git status ............. See what changed → git log --oneline ...... View commit history ━━━━━━━━━━━━━━━━━━━━━━ BRANCHING — how real teams work → git branch dev ......... Create a new branch → git checkout -b dev .... Create + switch → git merge dev .......... Merge into main → git branch -d dev ...... Delete a branch → git mv old.txt new.txt . Move / rename file → git rm file.txt ........ Delete a file ━━━━━━━━━━━━━━━━━━━━━━ PROFESSIONAL DEV WORKFLOW 1️⃣ Create a feature branch 2️⃣ Write your code 3️⃣ Commit often with clear messages 4️⃣ Merge or open a Pull Request ━━━━━━━━━━━━━━━━━━━━━━ Golden rule: Never work directly on main. Always create a feature branch. This is how every professional team operates — and it will save you countless headaches. It took me a while to get comfortable with all of this — but now Git feels like second nature. If you're just starting out, take it one command at a time. Consistency beats speed every time. Are you learning Git right now? Drop a comment below — let's connect! #Git #Ubuntu #Linux #100DaysOfCode #OpenSource #Developer #WebDevelopment #SoftwareEngineering #CodingLife
To view or add a comment, sign in
-
If a change isn’t in Git, it didn’t happen. That’s not something I’m adopting for this build, it’s something I stopped tolerating. In it-re-dc01, everything lives in one place: Ansible roles. Terraform modules. Docker Compose stacks. Helm charts. Docs. Runbooks. ADRs. One repo: it-re-dc01-infra. GitHub Actions runs on a self-hosted runner on re01-mgmt-01. Every push triggers: • ansible-lint • docker compose validation • terraform validate Merges to main trigger applies. Terraform state is not local. It’s stored and secured via Vault-backed workflows. Secrets don’t live in the repo. They’re issued dynamically. Git defines the desired state. Vault secures access to it. GitHub Actions enforces the path to change. No manual changes. No exceptions. I’ve seen what happens without this discipline. At one point, we ran Jenkins where the pipeline configuration lived inside Jenkins itself. When Jenkins went down, the pipelines went with it. We rebuilt them from memory and screenshots and it took two weeks. That wasn’t a tooling issue, it was a process failure. The tool doesn’t matter, the discipline does. No change, no matter how small or urgent, happens outside the pipeline. Because if your system can’t be rebuilt from Git, you don’t control it. #GitOps #PlatformEngineering #CI/CD
To view or add a comment, sign in
-
-
Git Workflow (At a Glance) 🚀 Most developers use Git daily, but many still struggle with the difference between the Staging Index and Local Repo, or when to Merge vs. Rebase. If you’re guessing your way through your terminal, you’re eventually going to break a production branch. Stop memorizing commands and start understanding the architecture. 🛠 The Three Areas You Must Know: Working Directory: Where you actually write the code (Untracked/Modified). Staging Index: The "loading dock" where you prep your changes for a commit. Local Repo (.git/): Your personal history of snapshots. Remote Repo: Where the team collaborates (GitHub/GitLab). 💡 Key Technical Takeaways: Merge vs. Rebase: Merging preserves the full history with a "merge commit." Rebase rewrites history for a clean, linear timeline. Choose wisely based on your team's workflow. File Lifecycle: A file isn't just "saved"—it moves from Untracked → Staged → Committed → Modified. The "Safety Net" Commands: Learn git stash for temporary work and git revert to fix mistakes without destroying the commit history. The Reality Check: You aren’t a Senior Engineer until you can manage a complex branching model without losing data. Save this infographic for your next "merge conflict" headache. #DevOps #Git #VersionControl #CloudEngineering #SoftwareDevelopment #CodingTips #TechCommunity
To view or add a comment, sign in
-
-
🚀 CI/CD with Jenkins vs GitHub Actions — what should you actually use? I’ve been exploring CI/CD while working on backend projects, and one thing became clear — both Jenkins and GitHub Actions solve the same problem, but in very different ways. Here’s how I see it: 🔧 Jenkins Feels like the “full control” option. You can customize almost everything, build complex pipelines, and manage it exactly the way you want. But… you also have to set it up, maintain it, and deal with plugins and servers. ⚡ GitHub Actions Much simpler to start with. If your code is already on GitHub, you just write a workflow file and you’re good to go. No server setup, no extra headache. 🧠 The real difference (in simple terms): Jenkins → more control, more responsibility GitHub Actions → less setup, faster to start 🔥 One important thing I misunderstood earlier: Docker helps you run your app consistently, but tools like Jenkins or GitHub Actions decide: 👉 when to build 👉 when to test 👉 when to deploy 💡 So what should you use? If you’re working on large or complex systems → Jenkins makes sense If you want quick setup and clean workflow → GitHub Actions is a great choice At the end of the day, both are powerful. It just depends on your use case. #cicd #devops #jenkins #githubactions #docker
To view or add a comment, sign in
-
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
Bro can you guide me from which resource, you are learning DevOps, Since I am into AI / ML Territory and want to learn about Cloud and MLOps. If it's structured roadmap I am here to learn more and exciting.