mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-22 15:47:57 -05:00
19 lines
434 B
Groovy
19 lines
434 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
|
|
stage ('Build') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
steps {
|
|
sh "rm -rf build/libs/"
|
|
sh "chmod +x gradlew"
|
|
sh "./gradlew clean --stacktrace"
|
|
sh "./gradlew build publish --refresh-dependencies --stacktrace"
|
|
|
|
archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true
|
|
}
|
|
}
|
|
}
|
|
}
|