2016-09-22 19:33:47 +00:00
|
|
|
node {
|
|
|
|
stage 'Checkout'
|
|
|
|
|
|
|
|
checkout scm
|
|
|
|
|
|
|
|
stage 'Build'
|
|
|
|
|
|
|
|
sh "rm -rf build/libs/"
|
|
|
|
sh "chmod +x gradlew"
|
2017-05-10 20:51:46 +00:00
|
|
|
sh "./gradlew build --refresh-dependencies"
|
2016-09-22 19:33:47 +00:00
|
|
|
|
|
|
|
stage "Archive artifacts"
|
|
|
|
|
|
|
|
sh "./gradlew upload"
|
|
|
|
}
|