[jruby-joni] 93/194: Flesh out a full wrapper enabled Pipeline
Hideki Yamane
henrich at moszumanska.debian.org
Thu Feb 1 12:04:30 UTC 2018
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository jruby-joni.
commit 87f3ae5400dd3f34f2a9accbdd8ad1af9e48fecb
Author: R. Tyler Croy <tyler at monkeypox.org>
Date: Wed Dec 13 14:49:35 2017 -0800
Flesh out a full wrapper enabled Pipeline
---
Jenkinsfile | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..dc7d1d4
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,71 @@
+#!/usr/bin/env groovy
+
+pipeline {
+ agent none
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '10'))
+ timeout(time: 1, unit: 'HOURS')
+ }
+ stages {
+ stage('OpenJDK 8') {
+ agent { docker 'openjdk:8-jdk' }
+ steps {
+ checkout scm
+ sh './mvnw test -B'
+ }
+ post {
+ always {
+ junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
+ }
+ }
+ }
+
+ stage('Alternative Platforms') {
+ parallel {
+ stage('OpenJDK 9') {
+ agent { docker 'openjdk:9-jdk' }
+ steps {
+ checkout scm
+ sh './mvnw test -B'
+ }
+ post {
+ always {
+ junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
+ }
+ }
+ }
+ stage('Alpine Linux') {
+ agent { docker 'openjdk:8-jdk-alpine' }
+ steps {
+ checkout scm
+ sh './mvnw test -B'
+ }
+ post {
+ always {
+ junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
+ }
+ }
+ }
+ stage('FreeBSD 11') {
+ agent { label 'freebsd' }
+ steps {
+ checkout scm
+ sh './mvnw test -B'
+ }
+ post {
+ always {
+ junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
+ }
+ }
+ }
+ /* awaiting platform support in Code Valet */
+ stage('Windows 2016') {
+ when { branch 'windows-support' }
+ steps {
+ echo 'Not yet available'
+ }
+ }
+ }
+ }
+ }
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git
More information about the pkg-java-commits
mailing list