3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00
Velocity/Jenkinsfile
Andrew Steinborn 3722f5d664 Really fix caching
This was stupid
2018-07-26 02:29:41 -04:00

22 Zeilen
338 B
Groovy

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