mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 23:58:02 -05:00
15 lines
249 B
Groovy
15 lines
249 B
Groovy
node {
|
|
stage 'Checkout'
|
|
|
|
checkout scm
|
|
|
|
stage 'Build'
|
|
|
|
sh "rm -rf build/libs/"
|
|
sh "chmod +x gradlew"
|
|
sh "./gradlew build uploadArchives --refresh-dependencies --stacktrace"
|
|
|
|
stage "Archive artifacts"
|
|
|
|
archive 'build/libs/*'
|
|
}
|