Ruby Application CI on Ubuntu AMD64
Ruby Application CI on Ubuntu AMD64
Category: programming_languages
Platform: ubuntu_amd64
Tools Used: Ruby Programming Language
Description: Continuous integration for a Ruby application on Ubuntu AMD64.
Code:
pipeline {
agent { label 'medium && ruby && linux && x86' }
stages {
stage('Install Bundler') {
steps {
sh 'gem install bundler'
}
}
stage('Install Gems') {
steps {
sh 'bundle install'
}
}
stage('Test') {
steps {
sh 'bundle exec rspec'
}
}
stage('Deploy') {
steps {
sh 'cap production deploy'
}
}
}
}
Expected Outcome: Ruby application tested and deployed
Updated on: 31/10/2025
Thank you!