[CHORE] Fix build display info for jenkins
This commit is contained in:
15
.gitattributes
vendored
Normal file
15
.gitattributes
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
* text eol=lf
|
||||
*.bat text eol=crlf
|
||||
*.patch text eol=lf
|
||||
*.java text eol=lf
|
||||
*.gradle text eol=crlf
|
||||
*.png binary
|
||||
*.gif binary
|
||||
*.exe binary
|
||||
*.dll binary
|
||||
*.jar binary
|
||||
*.lzma binary
|
||||
*.zip binary
|
||||
*.pyd binary
|
||||
*.cfg text eol=lf
|
||||
*.jks binary
|
@@ -1,3 +1,4 @@
|
||||
def majorMc = "1.18.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.18.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})"
|
||||
|
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
sh "./gradlew build -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
def majorMc = "1.19.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.19.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})"
|
||||
|
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
sh "./gradlew build -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
def majorMc = "1.19.3/4";
|
||||
def JDK = "17"
|
||||
|
||||
pipeline {
|
||||
@@ -17,7 +18,7 @@ pipeline {
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
title: "Deploy Started: CraterLib 1.19.3/4 Deploy #${BUILD_NUMBER}",
|
||||
title: "Deploy Started: CraterLib ${majorMc} Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
sh "./gradlew build -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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})"
|
||||
|
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
sh "./gradlew build -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
def majorMc = "1.20.4";
|
||||
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.4 Deploy #${BUILD_NUMBER}",
|
||||
title: "Deploy Started: CraterLib ${majorMc} Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
sh "./gradlew build -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
def majorMc = "1.20";
|
||||
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/1 Deploy #${BUILD_NUMBER}",
|
||||
title: "Deploy Started: CraterLib ${majorMc} Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -33,7 +33,7 @@ pipeline {
|
||||
stage("Prepare") {
|
||||
steps {
|
||||
sh "chmod +x ./gradlew"
|
||||
sh "./gradlew build -PreleaseType=port"
|
||||
sh "./gradlew build -PreleaseType=${reltype}"
|
||||
}
|
||||
}
|
||||
|
||||
|
38
Jenkinsfile
vendored
38
Jenkinsfile
vendored
@@ -1,38 +0,0 @@
|
||||
pipeline {
|
||||
agent {
|
||||
label "master"
|
||||
}
|
||||
|
||||
stages {
|
||||
stage("Build LTS Folders") {
|
||||
steps {
|
||||
script {
|
||||
def subfolderNames = ["1.18.2", "1.19.2", "1.19.3", "1.20", "1.20.2", "1.20.4"]
|
||||
boolean hasFailure = false
|
||||
|
||||
for (def subfolderName : subfolderNames) {
|
||||
def subfolderPath = "${WORKSPACE}/${subfolderName}/.jenkins/Jenkinsfile.snapshot"
|
||||
|
||||
if (fileExists(subfolderPath)) {
|
||||
try {
|
||||
dir("${WORKSPACE}/${subfolderName}") {
|
||||
def subfolderJob = load ".jenkins/Jenkinsfile.snapshot"
|
||||
subfolderJob()
|
||||
}
|
||||
} catch (Exception e) {
|
||||
echo "Error running pipeline for ${subfolderPath}: ${e.message}"
|
||||
hasFailure = true
|
||||
}
|
||||
} else {
|
||||
echo "Skipping non-existent Jenkinsfile: ${subfolderPath}"
|
||||
}
|
||||
}
|
||||
|
||||
if (hasFailure) {
|
||||
error "One or more subfolder pipelines failed."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -8,6 +8,6 @@ plugins {
|
||||
orionporting {
|
||||
upstreamBranch = "dev"
|
||||
// Enable During Porting
|
||||
//patchMode = PatchMode.FUZZY
|
||||
patchMode = PatchMode.FUZZY
|
||||
porting("1.20.4", "1.20.2", "1.20", "1.19.3", "1.19.2", "1.18.2")
|
||||
}
|
@@ -1 +1 @@
|
||||
fabef0e6f111bc4620334afb1da820a90a12b8da
|
||||
dd69ecd7cc75cc91bf2bab79fb8d3d473b43f268
|
@@ -1,17 +1,10 @@
|
||||
--- a/.jenkins/Jenkinsfile.deploy
|
||||
+++ b/.jenkins/Jenkinsfile.deploy
|
||||
@@ -1,4 +1,4 @@
|
||||
@@ -1,5 +1,5 @@
|
||||
-def JDK = "21"
|
||||
-def majorMc = "1.21";
|
||||
+def majorMc = "1.18.2";
|
||||
+def JDK = "17"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -17,7 +17,7 @@
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
- title: "Deploy Started: CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "Deploy Started: CraterLib 1.18.2 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -4,7 +4,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";
|
||||
|
@@ -1,17 +1,10 @@
|
||||
--- a/.jenkins/Jenkinsfile.deploy
|
||||
+++ b/.jenkins/Jenkinsfile.deploy
|
||||
@@ -1,4 +1,4 @@
|
||||
@@ -1,5 +1,5 @@
|
||||
-def JDK = "21"
|
||||
-def majorMc = "1.21";
|
||||
+def majorMc = "1.19.2";
|
||||
+def JDK = "17"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -17,7 +17,7 @@
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
- title: "Deploy Started: CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "Deploy Started: CraterLib 1.19.2 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -4,7 +4,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";
|
||||
|
@@ -1,17 +1,10 @@
|
||||
--- a/.jenkins/Jenkinsfile.deploy
|
||||
+++ b/.jenkins/Jenkinsfile.deploy
|
||||
@@ -1,4 +1,4 @@
|
||||
@@ -1,5 +1,5 @@
|
||||
-def JDK = "21"
|
||||
-def majorMc = "1.21";
|
||||
+def majorMc = "1.19.3/4";
|
||||
+def JDK = "17"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -17,7 +17,7 @@
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
- title: "Deploy Started: CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "Deploy Started: CraterLib 1.19.3/4 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -4,7 +4,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";
|
||||
|
@@ -1,17 +1,10 @@
|
||||
--- a/.jenkins/Jenkinsfile.deploy
|
||||
+++ b/.jenkins/Jenkinsfile.deploy
|
||||
@@ -1,4 +1,4 @@
|
||||
@@ -1,5 +1,5 @@
|
||||
-def JDK = "21"
|
||||
-def majorMc = "1.21";
|
||||
+def majorMc = "1.20.2";
|
||||
+def JDK = "17"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -17,7 +17,7 @@
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
- title: "Deploy Started: CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "Deploy Started: CraterLib 1.20.2 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -4,7 +4,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";
|
||||
|
@@ -1,17 +1,10 @@
|
||||
--- a/.jenkins/Jenkinsfile.deploy
|
||||
+++ b/.jenkins/Jenkinsfile.deploy
|
||||
@@ -1,4 +1,4 @@
|
||||
@@ -1,5 +1,5 @@
|
||||
-def JDK = "21"
|
||||
-def majorMc = "1.21";
|
||||
+def majorMc = "1.20.4";
|
||||
+def JDK = "17"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -17,7 +17,7 @@
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
- title: "Deploy Started: CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "Deploy Started: CraterLib 1.20.4 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -4,7 +4,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";
|
||||
|
@@ -1,17 +1,10 @@
|
||||
--- a/.jenkins/Jenkinsfile.deploy
|
||||
+++ b/.jenkins/Jenkinsfile.deploy
|
||||
@@ -1,4 +1,4 @@
|
||||
@@ -1,5 +1,5 @@
|
||||
-def JDK = "21"
|
||||
-def majorMc = "1.21";
|
||||
+def majorMc = "1.20";
|
||||
+def JDK = "17"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -17,7 +17,7 @@
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
- title: "Deploy Started: CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "Deploy Started: CraterLib 1.20/1 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
|
@@ -4,7 +4,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";
|
||||
|
Reference in New Issue
Block a user