[BUG] Fix Adventure Serializer being configured wrong
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
def JDK = "21"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image "registry.firstdark.dev/java21:latest"
|
||||
image "registry.firstdark.dev/java${JDK}:latest"
|
||||
alwaysPull true
|
||||
args '-v gradle-cache:/home/gradle/.gradle'
|
||||
}
|
||||
|
@@ -1,10 +1,15 @@
|
||||
def projectName = "CraterLib";
|
||||
def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae593e56eba7885743bb44.png";
|
||||
def JDK = "21";
|
||||
def majorMc = "Port";
|
||||
def modLoaders = "neoforge|fabric|quilt";
|
||||
def supportedMc = "1.21";
|
||||
def reltype = "port";
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image "registry.firstdark.dev/java21:latest"
|
||||
image "registry.firstdark.dev/java${JDK}:latest"
|
||||
alwaysPull true
|
||||
args '-v gradle-cache:/home/gradle/.gradle'
|
||||
}
|
||||
@@ -18,7 +23,7 @@ pipeline {
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.SSS_WEBHOOK,
|
||||
title: "Deploy Started: ${projectName} Port Deploy #${BUILD_NUMBER}",
|
||||
title: "Deploy Started: ${projectName} ${majorMc} Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
@@ -28,12 +33,6 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew clean"
|
||||
}
|
||||
}
|
||||
|
||||
stage("Build") {
|
||||
steps {
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
}
|
||||
}
|
||||
@@ -41,7 +40,7 @@ pipeline {
|
||||
stage("Publish to Maven") {
|
||||
steps {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "./gradlew publish -PreleaseType=port"
|
||||
sh "./gradlew publish -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,14 +49,13 @@ pipeline {
|
||||
post {
|
||||
always {
|
||||
sh "./gradlew --stop"
|
||||
archiveArtifacts artifacts: 'artifacts/*.jar'
|
||||
|
||||
fddsnapshotter apiKey: env.PLATFORM_KEY,
|
||||
projectSlug: "craterlib",
|
||||
projectName: "${projectName}",
|
||||
projectIcon: "${projectIcon}",
|
||||
modLoaders: "neoforge|fabric|quilt",
|
||||
minecraftVersions: "1.21",
|
||||
modLoaders: "${modLoaders}",
|
||||
minecraftVersions: "${supportedMc}",
|
||||
failWebhook: env.SSS_WEBHOOK,
|
||||
publishWebhooks: "${env.SSS_WEBHOOK}|${env.FDD_WH}"
|
||||
|
||||
|
Reference in New Issue
Block a user