Sha256: 7ef260e6390f093666067cfb5a77139753bd01ebd34265a2bb907ccf42e4ef40

Contents?: true

Size: 993 Bytes

Versions: 1

Compression:

Stored size: 993 Bytes

Contents

pipeline {
    agent none

    stages {
        stage('Rubocop') {
            agent { dockerfile { filename 'docker/ruby-2.6/Dockerfile' } }

            steps {
                sh 'bundle exec rake app:ci:rubocop'
            }

            post {
                always { archiveArtifacts artifacts: 'checkstyle.xml' }
            }
        }
        stage('Test') {
            parallel {
                stage('Ruby 2.5') {
                    agent { dockerfile { filename 'docker/ruby-2.5/Dockerfile' } }

                    steps { sh 'scripts/test.sh' }
                }
                stage('Ruby 2.6') {
                    agent { dockerfile { filename 'docker/ruby-2.6/Dockerfile' } }

                    steps { sh 'scripts/test.sh' }
                }
                 stage('Ruby 2.7') {
                    agent { dockerfile { filename 'docker/ruby-2.7/Dockerfile' } }

                    steps { sh 'scripts/test.sh' }
                }
            }
        }
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ns_settings_ui-1.7.0 Jenkinsfile