Sha256: 18f6645158cdf8d5fc9e87861b54300b6a1b6c42202bb4587612f0b927a02fcc
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
pipeline { agent { docker { image 'repository.ingemark.com/ingemark/spree-extensions-build-container:0.0.1' args "-u root" } } triggers { pollSCM 'H/2 * * * *' } options { ansiColor('xterm') buildDiscarder(logRotator(numToKeepStr: '10')) disableConcurrentBuilds() timeout(time: 1, unit: 'HOURS') } stages { stage("Bundle install") { steps { sh 'bundle install' } } stage("Rake test") { steps { sh 'rake test_app' } } stage("Run tests") { steps { sh 'rspec' } } stage("GEM build") { steps { sh "gem build spree_devices.gemspec 2>&1 | grep File | awk '{ print \$2 }' > output.txt" } } stage("Deploy to GemInaBox") { steps { script { env.FILENAME = readFile 'output.txt' } sh 'gem push "${env.FILENAME}" http://razvoj.local.ingemark.com:9292' } } } post { changed { mail( to: "alen.basic@ingemark.com", subject: "Job '${JOB_NAME}' build ${BUILD_DISPLAY_NAME} status has changed to : ${currentBuild.currentResult}!", body: "Please go to ${BUILD_URL} for details." ) } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_devices-1.2.0 | Jenkinsfile |