[CHORE] Fix build display info for jenkins

This commit is contained in:
2024-06-11 22:31:40 +02:00
parent c63514511d
commit 0a3781a42c
28 changed files with 59 additions and 118 deletions

View File

@@ -1,3 +1,4 @@
def majorMc = "1.20.2";
def JDK = "17"
pipeline {
@@ -17,7 +18,7 @@ pipeline {
stage("Notify Discord") {
steps {
discordSend webhookURL: env.FDD_WH_ADMIN,
title: "Deploy Started: CraterLib 1.20.2 Deploy #${BUILD_NUMBER}",
title: "Deploy Started: CraterLib ${majorMc} Deploy #${BUILD_NUMBER}",
link: env.BUILD_URL,
result: 'SUCCESS',
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"

View File

@@ -33,7 +33,7 @@ pipeline {
stage("Prepare") {
steps {
sh "chmod +x ./gradlew"
sh "./gradlew build -PreleaseType=port"
sh "./gradlew build -PreleaseType=${reltype}"
}
}