Artifact archiving

This commit is contained in:
Risto Lahtela 2019-08-12 14:33:49 +03:00 committed by GitHub
parent 63dcc63287
commit d2799a6151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
Jenkinsfile vendored
View File

@ -6,9 +6,11 @@ pipeline {
steps {
dir("Plan") {
script {
sh 'rm -rf builds'
sh './gradlew clean shadowJar --parallel'
}
}
archiveArtifacts artifacts: 'Plan/builds/*.jar', fingerprint: false
}
}
stage('Tests') {
@ -50,6 +52,7 @@ pipeline {
dir("Plan") {
script {
sh './gradlew clean --parallel'
sh 'rm -rf builds'
}
}
}