Slow running integration tests in CI/CD pipeline?

Posted by WorldTraveller101@reddit | ExperiencedDevs | View on Reddit | 3 comments

We have a Jenkins CD pipeline for deploying a fairly large Java API. The jenkins server pulls the code for git, runs unit tests, builds the artifacts for deployment and deploys to the kubernetes cluster. We have many deployments in a day, sometimes every \~30 mins or so.

Also we have a set of integration and regression that take a long time to complete and is not feasible to add them to the CD pipeline (and thus making CD a proper CI/CD pipeline). Our QAs manually run integration and regression tests from time to time to catch bugs.

Since integration and regression tests are not run on every CD, sometimes bug creep in to production causing havoc and we have to roll back the code.

So my question is, how do/would you add integration and regression tests to your frequently running CD pipeline?