13
0
geforkt von Mirrors/Velocity
Velocity/Jenkinsfile
2018-07-31 01:59:30 -04:00

22 Zeilen
337 B
Groovy

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