Fixed end portal teleportation and added jenkins file

This commit is contained in:
MrHua269
2025-02-22 18:38:27 +08:00
parent 41770b069e
commit 6c48c27b7d
5 changed files with 98 additions and 14 deletions

52
JenkinsFile Normal file
View File

@@ -0,0 +1,52 @@
pipeline {
agent any
tools {
jdk 'jdk23'
}
stages {
stage('Configure git') {
steps {
script {
sh 'git config user.name "luminolmc"'
sh 'git config user.email "luminolmc@noreply.github.com"'
}
}
}
stage('Apply patches') {
steps {
script {
sh 'chmod +x gradlew'
sh './gradlew applyAllPatches'
}
}
}
stage('Build paperclip jar') {
steps {
script {
sh './gradlew createMojmapPaperclipJar'
}
}
}
stage('Upload artifacts') {
steps {
script {
archiveArtifacts(
artifacts: "luminol-server/build/libs/*.jar",
allowEmptyArchive: false
)
}
}
}
}
post {
always {
cleanWs()
}
}
}