Split RSpec tests with Jenkins Parallel Pipeline to run specs faster. Jenkins CI server has a declarative pipeline that allows you to set Jenkins parallel stages.
Jenkins CI server has a declarative pipeline that allows you to set Jenkins parallel stages. You can use the stages to run them at the same time (parallel run) to execute your RSpec test suite in a few smaller faster chunks instead of one long test suite run.
You will use Jenkinsfile and pipeline syntax to get parallel execution of tasks. RSpec tests need to be split in equal time across stages and to do that you need to ensure the time of each RSpec spec file won’t compound on one of the stages because that could lead to bottleneck - a stage that takes more time to run tests than other stages.
After using Jenkins on several projects, we say it's time to move on. Jenkins is left behind with his old approach — found out more!
Jenkins Pipeline - Different types of CI pipelines and stages. What is Jenkins Pipeline? What are different types of CI pipelines? What are different stages in Jenkins pipeline? What is CI CD Pipeline?
DevOps Jenkins: CI/CD with Jenkins Pipeline, AWS Pipeline
The recent Jenkins 2.0 release brings some interesting new features but the one we’re most excited about is delivery pipelines and an extensible Groovy-based Domain Specific Language (DSL) which enables us to model a “pipeline as code” by versioning a Jenkinsfile along with our source.
Automate Jenkins Pipelines management. Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML or JSON format and uses them to configure Jenkins. In the article, I will walk through a simple Jenkins Pipelines Template and procedures for the setup.