What if we also built on FreeBSD

Wouldn't that be fancy
This commit is contained in:
R. Tyler Croy 2017-12-13 16:37:10 -08:00
parent 747456d7e4
commit 549ea61e13
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 16 additions and 0 deletions

View File

@ -18,6 +18,10 @@ def call(String platform) {
void defaultsForMaven() {
pipeline {
agent none
options {
buildDiscarder(logRotator(numToKeepStr: '10'))
timeout(time: 1, unit: 'HOURS')
}
stages {
stage('Test') {
failFast true
@ -34,6 +38,18 @@ void defaultsForMaven() {
}
}
}
stage('FreeBSD 11') {
agent { label 'freebsd' }
steps {
sh 'mvn test -B'
}
post {
always {
junit testResults: '**/surefire-reports/**/*.xml', allowEmptyResults: true
archiveArtifacts artifacts: '**/*.jar', fingerprint: true
}
}
}
}
}
}