[CHORE] Fix build display info for jenkins
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
def JDK = "21"
|
||||
def majorMc = "1.21";
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -17,7 +18,7 @@ pipeline {
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
title: "Deploy Started: CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
title: "Deploy Started: CraterLib ${majorMc} Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -1,7 +1,7 @@
|
||||
def projectName = "CraterLib";
|
||||
def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae593e56eba7885743bb44.png";
|
||||
def JDK = "21";
|
||||
def majorMc = "Port";
|
||||
def majorMc = "1.21";
|
||||
def modLoaders = "neoforge|fabric|quilt";
|
||||
def supportedMc = "1.21";
|
||||
def reltype = "port";
|
||||
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
sh "./gradlew build -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user