Sha256: c9e95b5a9073fb285b9352452195e0f7e24113ede9196b5d0d0f12d92611d7fb

Contents?: true

Size: 1.46 KB

Versions: 12

Compression:

Stored size: 1.46 KB

Contents

pipeline {
  agent none
  options {
    ansiColor('xterm')
  }
  triggers {
    cron('@monthly')
  }
  stages {
    stage("Run tests") {
      parallel {
        stage("Ruby 2.5") {
          agent {
            docker {
              image 'ruby:2.5'
            }
          }
          steps {
            sh 'gem install bundler:2.1.4'
            sh 'bundle install --deployment'
            sh 'bundle exec rake spec'
          }
        }
        stage("Ruby 2.6") {
          agent {
            docker {
              image 'ruby:2.6'
            }
          }
          steps {
            sh 'gem install bundler:2.1.4'
            sh 'bundle install --deployment'
            sh 'bundle exec rake spec'
          }
        }
        stage("Ruby 2.7") {
          agent {
            docker {
              image 'ruby:2.7'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake spec'
          }
        }
        stage("Ruby 3.0") {
          agent {
            docker {
              image 'ruby:3.0'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake spec'
          }
        }
        stage("Ruby 3.1") {
          agent {
            docker {
              image 'ruby:3.1'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake spec'
          }
        }
      }
    }
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
brightbox-cli-4.8.0 Jenkinsfile
brightbox-cli-4.7.0 Jenkinsfile
brightbox-cli-4.6.0 Jenkinsfile
brightbox-cli-4.5.0 Jenkinsfile
brightbox-cli-4.5.0.rc1 Jenkinsfile
brightbox-cli-4.4.0 Jenkinsfile
brightbox-cli-4.3.2 Jenkinsfile
brightbox-cli-4.3.1 Jenkinsfile
brightbox-cli-4.3.0 Jenkinsfile
brightbox-cli-4.2.1 Jenkinsfile
brightbox-cli-4.2.0 Jenkinsfile
brightbox-cli-4.1.0 Jenkinsfile