geforkt von Mirrors/Velocity
bbf861d3bc
For now, the API module only contains a few assorted utilities. More will be added later.
22 Zeilen
359 B
Groovy
22 Zeilen
359 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'openjdk:8-jdk-slim'
|
|
args '-v gradle-cache:/home/gradle/.gradle:rw'
|
|
}
|
|
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh './gradlew shadowJar'
|
|
archiveArtifacts 'proxy/build/libs/*-all.jar'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh './gradlew test'
|
|
}
|
|
}
|
|
}
|
|
} |