mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 07:19:12 +00:00
17 lines
279 B
Groovy
17 lines
279 B
Groovy
node {
|
|
stage 'Checkout'
|
|
|
|
checkout scm
|
|
|
|
stage 'Build'
|
|
|
|
sh "rm -rf build/libs/"
|
|
sh "chmod +x gradlew"
|
|
sh "./gradlew clean --stacktrace"
|
|
sh "./gradlew build publish --refresh-dependencies --stacktrace"
|
|
|
|
stage "Archive artifacts"
|
|
|
|
archive 'build/libs/*'
|
|
}
|