WIP jenkinsfile.

This commit is contained in:
Endolf 2018-05-23 00:39:22 +01:00
parent 2acfe0edaa
commit c6a6d2e8f8

48
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,48 @@
pipeline {
agent none
stages {
stage('Build') {
parallel {
stage('Build on Windows') {
agent {
label "windows"
}
steps {
bat 'mvn -B -DskipTests clean package'
}
post {
always {
archiveArtifacts artifacts: '**/target/*.jar*', fingerprint: true
}
}
}
stage('Build on Windows') {
agent {
label "linux"
}
steps {
sh 'mvn -B -DskipTests clean package'
}
post {
always {
archiveArtifacts artifacts: '**/target/*.jar*', fingerprint: true
}
}
}
stage('Build on OSX') {
agent {
label "osx"
}
steps {
sh 'mvn -B -DskipTests clean package'
}
post {
always {
archiveArtifacts artifacts: '**/target/*.jar*', fingerprint: true
}
}
}
}
}
}
}