[DEV] Fix up porting patches and configs
This commit is contained in:
@@ -1,46 +1,18 @@
|
||||
--- a/.jenkins/Jenkinsfile.snapshot
|
||||
+++ b/.jenkins/Jenkinsfile.snapshot
|
||||
@@ -1,5 +1,6 @@
|
||||
@@ -1,10 +1,10 @@
|
||||
def projectName = "CraterLib";
|
||||
def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae593e56eba7885743bb44.png";
|
||||
+def relType = "snapshot"
|
||||
-def JDK = "21";
|
||||
-def majorMc = "Port";
|
||||
-def modLoaders = "neoforge|fabric|quilt";
|
||||
-def supportedMc = "1.21";
|
||||
-def reltype = "port";
|
||||
+def JDK = "17";
|
||||
+def majorMc = "1.19.3/4";
|
||||
+def modLoaders = "forge|fabric|quilt";
|
||||
+def supportedMc = "1.19.3|1.19.4";
|
||||
+def reltype = "snapshot";
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
@@ -18,7 +19,7 @@
|
||||
stage("Notify Discord") {
|
||||
steps {
|
||||
discordSend webhookURL: env.SSS_WEBHOOK,
|
||||
- title: "Deploy Started: ${projectName} Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "Deploy Started: ${projectName} 1.19.3/4 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: 'SUCCESS',
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||
@@ -34,14 +35,14 @@
|
||||
|
||||
stage("Build") {
|
||||
steps {
|
||||
- sh "./gradlew build -PreleaseType=port"
|
||||
+ sh "./gradlew build -PreleaseType=${relType}"
|
||||
}
|
||||
}
|
||||
|
||||
stage("Publish to Maven") {
|
||||
steps {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
- sh "./gradlew publish -PreleaseType=port"
|
||||
+ sh "./gradlew publish -PreleaseType=${relType}"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -56,8 +57,8 @@
|
||||
projectSlug: "craterlib",
|
||||
projectName: "${projectName}",
|
||||
projectIcon: "${projectIcon}",
|
||||
- modLoaders: "neoforge|fabric|quilt",
|
||||
- minecraftVersions: "1.21",
|
||||
+ modLoaders: "forge|fabric|quilt",
|
||||
+ minecraftVersions: "1.19.3|1.19.4",
|
||||
failWebhook: env.SSS_WEBHOOK,
|
||||
publishWebhooks: "${env.SSS_WEBHOOK}|${env.FDD_WH}"
|
||||
|
||||
|
Reference in New Issue
Block a user