3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00
Velocity/Jenkinsfile

23 Zeilen
375 B
Plaintext

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