Complete CI/CD Pipeline Using GitHub, Jenkins, Maven, SonarQube, Nexus, and Docker A well-designed CI/CD pipeline plays a critical role in modern DevOps practices by automating software delivery, improving code quality, and reducing deployment risks. In this article, I will explain how I build an automated CI/CD pipeline using GitHub, Jenkins, Maven, SonarQube, Nexus Repository, Docker, and Docker Hub. Source Code Management with GitHub The CI/CD workflow begins with storing the application source code in GitHub. Developers regularly push code changes or create pull requests to collaborate on features and bug fixes. Whenever new code is pushed to the repository, GitHub triggers Jenkins automatically through a webhook. This integration helps start the CI/CD pipeline without manual intervention. Code Checkout Stage in Jenkins The first stage of the pipeline is the checkout process. Jenkins connects to the GitHub repository and pulls the latest version of the source code. ...
These are the basic commands you’ll use often when working with Kubernetes. Think of them as tools to check , create , change , and fix things inside your Kubernetes system. 1. Viewing What's Running These commands help you see what’s going on inside your Kubernetes cluster. kubectl get pods # shows all running pods kubectl get deployments # shows all deployments kubectl get services # shows all services kubectl get all # shows most resources in the current namespace 2. Getting Detailed Information kubectl describe pod my-pod # details about one pod kubectl describe node my-node # details about one node 3. Creating Things kubectl create -f my-deployment.yaml # create from file 4. Updating Things kubectl apply -f my-deployment.yaml # update using the file 5. Deleting Things kubectl delete pod my-pod # delete a specific pod kubectl delete service my-service # delete a specific service Debugging and Fixing Problems ...