TechReborn/Jenkinsfile
2017-06-12 09:55:41 +01:00

15 lines
259 B
Groovy

node {
stage 'Checkout'
checkout scm
stage 'Build'
sh "rm -rf build/libs/"
sh "chmod +x gradlew"
sh "./gradlew build uploadArchive curseTools --refresh-dependencies --stacktrace"
stage "Archive artifacts"
archive 'build/libs/*'
}