3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00
Velocity/Jenkinsfile
Andrew Steinborn 8c22b50fa4 Preserve caches
2018-07-26 01:11:03 -04:00

23 Zeilen
375 B
Groovy

pipeline {
agent {
docker {
image 'gradle:jdk8-slim'
args '-v m2-cache:/root/.m2'
}
}
stages {
stage('Build') {
steps {
sh './gradlew shadowJar'
archiveArtifacts 'build/libs/*.jar'
}
}
stage('Test') {
steps {
sh './gradlew test'
junit 'build/test-results/test/*.xml'
}
}
}
}