forked from FabricMC/fabric
15 lines
260 B
Groovy
15 lines
260 B
Groovy
node {
|
|
stage 'Checkout'
|
|
|
|
checkout scm
|
|
|
|
stage 'Build'
|
|
|
|
sh "rm -rf build/libs/"
|
|
sh "chmod +x gradlew"
|
|
sh "./gradlew build uploadArchives curseforge --refresh-dependencies --stacktrace"
|
|
|
|
stage "Archive artifacts"
|
|
|
|
archive 'build/libs/*'
|
|
}
|