Sha256: ed9672e52b872f9650ab2dbff0532bde49312a9ab2f41daba211f4439aeb9b90

Contents?: true

Size: 589 Bytes

Versions: 4

Compression:

Stored size: 589 Bytes

Contents

#! /usr/bin/env groovy

pipeline {
  agent { label 'docker' }

  environment {
    // Make sure we're ignoring any override files that may be present
    COMPOSE_FILE = "docker-compose.yml"
  }

  stages {
    stage('Build') {
      steps {
        dockerCacheLoad(image: 'tests')
        sh 'docker-compose build --pull'
      }
    }
    stage('Test') {
      steps {
        sh 'docker-compose run --rm -T tests'
      }
    }
  }

  post {
    success {
        dockerCacheStore(image: 'tests')
    }
    cleanup {
      sh 'docker-compose down --remove-orphans --rmi all'
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sentry-inst_jobs-5.10.0 Jenkinsfile
sentry-inst_jobs-1.0.2 Jenkinsfile
sentry-inst_jobs-1.0.1 Jenkinsfile
sentry-inst_jobs-1.0.0 Jenkinsfile