[CHORE] Fix build display info for jenkins

This commit is contained in:
2024-06-11 22:24:12 +02:00
parent fabef0e6f1
commit dd69ecd7cc
2 changed files with 4 additions and 3 deletions

View File

@@ -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})"