3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 23:30:26 +01:00
Velocity/Jenkinsfile
2018-07-26 02:23:04 -04:00

22 Zeilen
333 B
Groovy

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