Running a CI CD pipeline in Jenkins for Microservice based application

7/19/2019

In my project, I have this new requirement to implement a CI CD pipeline using Jenkins. My project is implemented using .NET Core and there are multiple Microservices with each microservice having unit tests and integration tests. Also, the entire application is dockerized.

I am entirely new to Jenkins but, I did learn how to run a simple pipeline by defining the various stages in a Jenkinsfile using shell scripting with the help of a tutorial at Code Maze.

So, how will a CI CD pipeline which runs all these tests and does a deployment to Kubernetes be implemented in this scenario?

Will I have to write a Jenkinsfile(for running unit tests, integration tests, and deployment) for each Microservice and manage those Jenkinsfiles or is there a better approach to this problem?

-- Otaku
.net-core
docker-compose
jenkins-pipeline
kubernetes

0 Answers