Skip to content

serdardevops/devops-pipeline-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DEVOPS PIPELINE EXAMPLES

devops-pipeline-examples/
β”œβ”€β”€ java-maven/
β”‚   β”œβ”€β”€ Jenkinsfile
β”‚   └── pom.xml
β”œβ”€β”€ docker-app/
β”‚   β”œβ”€β”€ Jenkinsfile
β”‚   └── Dockerfile
β”œβ”€β”€ kubernetes-deploy/
β”‚   β”œβ”€β”€ Jenkinsfile
β”‚   └── deployment.yaml
β”œβ”€β”€ shared-lib/
β”‚   β”œβ”€β”€ vars/
β”‚   β”‚   └── buildDocker.groovy
β”‚   └── Jenkinsfile
└── README.md

DevOps Pipeline Examples πŸš€

This repository contains multiple Jenkinsfile examples for different DevOps scenarios. Each subdirectory represents a specific use case with its own Jenkinsfile for Jenkins pipelines.

Structure

  • java-maven/: A Java project with Maven, featuring a pipeline for build, test, and SonarQube analysis.
  • docker-app/: A Docker-based application with a pipeline for building and pushing images to DockerHub.
  • kubernetes-deploy/: A pipeline for deploying applications to Kubernetes using ArgoCD.
  • shared-lib/: A Jenkins Shared Library example with reusable pipeline steps.

Prerequisites

  • Jenkins with plugins: Docker Pipeline, Kubernetes, Maven, SonarQube Scanner, GitHub Integration.
  • Credentials configured in Jenkins for GitHub, DockerHub, and Kubernetes.
  • AWS CLI and ArgoCD CLI (for specific pipelines).

How to Use

  1. Clone this repository: git clone https://github.com/serdardevops/devops-pipeline-examples.git
  2. Set up Jenkins pipelines for each subdirectory by pointing to the respective Jenkinsfile.
  3. Configure credentials in Jenkins as needed (e.g., github-cred, dockerhub-cred).

Contributions

Feel free to fork this repository and contribute by adding more Jenkinsfile examples!


Created by Serdar SelΓ§uk | March 2025

About

This repository contains multiple `Jenkinsfile` examples for different DevOps scenarios. Each subdirectory represents a specific use case with its own `Jenkinsfile` for Jenkins pipelines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages