mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2025-12-06 08:01:59 +01:00
WIP jenkinsfile.
This commit is contained in:
parent
2acfe0edaa
commit
c6a6d2e8f8
48
Jenkinsfile
vendored
Normal file
48
Jenkinsfile
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue