diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..5d0a17882 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,23 @@ +pipeline { + agent any + stages { + + stage('Init') { + steps { + sh "rm -rf build/libs/" + sh "chmod +x gradlew" + } + } + + stage ('Build') { + when { + branch '1.16' + } + steps { + sh "./gradlew clean build publish curseTools --refresh-dependencies --stacktrace" + + archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true + } + } + } +}