forked from FabricMC/fabric
16 lines
249 B
Text
16 lines
249 B
Text
|
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/*'
|
||
|
}
|