Jenkins CI Pipeline with Ruby
https://medium.com/@Joachim8675309/jenkins-ci-pipeline-with-ruby-62017469c7c9
This article introduction to support testing Ruby web application using Jenkins. We will create a Jenkins pipeline (using Jenkinsfile) to build and test the application. During this process, I’ll demonstrate how to build a small HelloWorld API with Sinatra, a popular web microframework originally released in 2007, how to create some xUnit style unit tests for the service, and then how to integrate this into Jenkins.
This is a minimal material to get started, so we will only have a build and test stage. In production, we would actually want to have a third stage called push, to conditionally push an artifact, the output of the CI, to an artifact repository, such as RubyGems site for a gem, or a Docker image to a Docker registry.