mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-01 02:17:11 +00:00
a353c12df0
* 1.20.6 Signed-off-by: Alexander Brandes <mc.cache@web.de> * work Signed-off-by: Alexander Brandes <mc.cache@web.de> * More work Signed-off-by: Alexander Brandes <mc.cache@web.de> * chore: address more removed fields and methods, make it run * chore: don't allocate unnecessary arrays (by maps) * chore: the comment might still be noteworthy * chore: no need to synchronize twice * fix obfuscation changes * remove unneeded deprecation * make regen work without throwing exceptions - but slow * fix: error when adapting BaseItemStacks without nbt * fix annoying paper api breakage --------- Signed-off-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
37 lines
1.1 KiB
Groovy
37 lines
1.1 KiB
Groovy
pipeline {
|
|
agent any
|
|
options {
|
|
disableConcurrentBuilds()
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
withEnv([
|
|
"PATH+JAVA=${tool 'Temurin-21.0.3_9'}/bin"
|
|
]) {
|
|
sh './gradlew clean build'
|
|
}
|
|
}
|
|
}
|
|
stage('Archive artifacts') {
|
|
steps {
|
|
sh 'rm -rf artifacts'
|
|
sh 'mkdir artifacts'
|
|
sh 'cp worldedit-bukkit/build/libs/FastAsyncWorldEdit*.jar artifacts/'
|
|
sh 'cp worldedit-cli/build/libs/FastAsyncWorldEdit*.jar artifacts/'
|
|
archiveArtifacts artifacts: 'artifacts/*.jar', followSymlinks: false
|
|
}
|
|
}
|
|
stage('Fingerprint artifacts') {
|
|
steps {
|
|
fingerprint 'worldedit-bukkit/build/libs/FastAsyncWorldEdit*.jar'
|
|
}
|
|
}
|
|
stage('Publish JUnit test results') {
|
|
steps {
|
|
junit 'worldedit-core/build/test-results/test/*.xml,worldedit-bukkit/build/test-results/test/*.xml'
|
|
}
|
|
}
|
|
}
|
|
}
|