Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-06 00:00:47 +01:00
22 Zeilen
347 B
Groovy
22 Zeilen
347 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'gradle:jdk8-slim'
|
|
args '-v gradle-cache:/home/gradle/.gradle:rw'
|
|
}
|
|
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh './gradlew shadowJar'
|
|
archiveArtifacts 'build/libs/*.jar'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh './gradlew test'
|
|
}
|
|
}
|
|
}
|
|
} |