2017-06-11 22:23:42 +02:00
|
|
|
node {
|
|
|
|
stage 'Checkout'
|
|
|
|
|
|
|
|
checkout scm
|
|
|
|
|
|
|
|
stage 'Build'
|
|
|
|
|
|
|
|
sh "rm -rf build/libs/"
|
2017-06-28 23:10:43 +02:00
|
|
|
sh "rm -rf .gradle/asmInjector/"
|
2017-06-11 22:23:42 +02:00
|
|
|
sh "chmod +x gradlew"
|
2017-06-28 23:33:09 +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
|
|
|
}
|