16 lines
295 B
Groovy
16 lines
295 B
Groovy
node {
|
|
stage 'Checkout'
|
|
|
|
checkout scm
|
|
|
|
stage 'Build'
|
|
|
|
sh "rm -rf build/libs/"
|
|
sh "rm -rf .gradle/asmInjector/"
|
|
sh "chmod +x gradlew"
|
|
sh "./gradlew build uploadArchive curseTools --refresh-dependencies --stacktrace"
|
|
|
|
stage "Archive artifacts"
|
|
|
|
archive 'build/libs/*'
|
|
}
|