13
0
geforkt von Mirrors/Velocity
Velocity/Jenkinsfile
2018-07-31 16:23:22 -04:00

22 Zeilen
352 B
Groovy

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