13
0
geforkt von Mirrors/Velocity
Velocity/Jenkinsfile

22 Zeilen
347 B
Plaintext

2018-07-26 07:03:59 +02:00
pipeline {
agent {
docker {
image 'gradle:jdk8-slim'
2018-07-31 08:06:43 +02:00
args '-v gradle-cache:/home/gradle/.gradle:rw'
2018-07-26 07:03:59 +02:00
}
}
stages {
stage('Build') {
steps {
sh './gradlew shadowJar'
archiveArtifacts 'build/libs/*.jar'
}
}
stage('Test') {
steps {
sh './gradlew test'
}
}
}
}