13
0
geforkt von Mirrors/Velocity
Velocity/Jenkinsfile

22 Zeilen
338 B
Plaintext

2018-07-26 07:03:59 +02:00
pipeline {
agent {
docker {
image 'gradle:jdk8-slim'
2018-07-26 08:29:41 +02:00
args '-v /root/.gradle:/root/.gradle'
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'
}
}
}
}