Sha256: 421dea7abce4d2e2235dfce7364fbd7d1aecffb724b9b9eac750d1922b991e00

Contents?: true

Size: 1.97 KB

Versions: 7

Compression:

Stored size: 1.97 KB

Contents

pipeline {
  agent none
  options {
    ansiColor('xterm')
  }
  triggers {
    cron('@monthly')
  }
  stages {
    stage("Run tests") {
      parallel {
        stage("Ruby 1.9.3") {
          agent {
            docker {
              image 'ruby:1.9.3'
            }
          }
          steps {
            sh 'BUNDLE_APP_CONFIG=/tmp/bundle.config BUNDLE_DISABLE_SHARED_GEMS=true bundle install --deployment'
            sh 'BUNDLE_APP_CONFIG=/tmp/bundle.config bundle exec rake test'
          }
        }
        stage("Ruby 2.0") {
          agent {
            docker {
              image 'ruby:2.0'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake test'
          }
        }
        stage("Ruby 2.1") {
          agent {
            docker {
              image 'ruby:2.1'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake test'
          }
        }
        stage("Ruby 2.2") {
          agent {
            docker {
              image 'ruby:2.2'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake test'
          }
        }
        stage("Ruby 2.3") {
          agent {
            docker {
              image 'ruby:2.3'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake test'
          }
        }
        stage("Ruby 2.4") {
          agent {
            docker {
              image 'ruby:2.4'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake test'
          }
        }
        stage("Ruby 2.5") {
          agent {
            docker {
              image 'ruby:2.5'
            }
          }
          steps {
            sh 'bundle install --deployment'
            sh 'bundle exec rake test'
          }
        }

      }
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
brightbox-cli-2.11.0 Jenkinsfile
brightbox-cli-2.10.0 Jenkinsfile
brightbox-cli-2.9.3 Jenkinsfile
brightbox-cli-2.9.2 Jenkinsfile
brightbox-cli-2.9.1 Jenkinsfile
brightbox-cli-2.9.0 Jenkinsfile
brightbox-cli-2.8.2 Jenkinsfile