Decrease build time by not building twice

This commit is contained in:
modmuss50 2018-12-13 09:28:54 +00:00
parent 4954f79f69
commit 44a5868fae
1 changed files with 1 additions and 5 deletions

6
Jenkinsfile vendored
View File

@ -7,11 +7,7 @@ node {
sh "rm -rf build/libs/"
sh "chmod +x gradlew"
sh "./gradlew build --refresh-dependencies"
stage 'Publish'
sh "./gradlew publish"
sh "./gradlew build publish --refresh-dependencies"
stage "Archive artifacts"