2017-06-11 22:23:42 +02:00
|
|
|
node {
|
|
|
|
stage 'Checkout'
|
|
|
|
|
|
|
|
checkout scm
|
|
|
|
|
|
|
|
stage 'Build'
|
|
|
|
|
|
|
|
sh "rm -rf build/libs/"
|
|
|
|
sh "chmod +x gradlew"
|
2017-06-12 10:55:41 +02:00
|
|
|
sh "./gradlew build uploadArchive curseTools --refresh-dependencies --stacktrace"
|
2017-06-11 22:23:42 +02:00
|
|
|
|
|
|
|
stage "Archive artifacts"
|
|
|
|
|
|
|
|
archive 'build/libs/*'
|
2017-06-12 10:55:41 +02:00
|
|
|
}
|