[DEV] Fix up porting patches and configs
This commit is contained in:
@@ -1,41 +1,18 @@
|
||||
--- a/.jenkins/Jenkinsfile.snapshot
|
||||
+++ b/.jenkins/Jenkinsfile.snapshot
|
||||
@@ -1,10 +1,11 @@
|
||||
@@ -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.20.4";
|
||||
+def modLoaders = "neoforge|forge|fabric|quilt";
|
||||
+def supportedMc = "1.20.4";
|
||||
+def reltype = "snapshot";
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
- image "registry.firstdark.dev/java21:latest"
|
||||
+ image "registry.firstdark.dev/java17:latest"
|
||||
alwaysPull true
|
||||
args '-v gradle-cache:/home/gradle/.gradle'
|
||||
}
|
||||
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -57,7 +58,7 @@
|
||||
projectName: "${projectName}",
|
||||
projectIcon: "${projectIcon}",
|
||||
modLoaders: "neoforge|fabric|quilt",
|
||||
- minecraftVersions: "1.21",
|
||||
+ minecraftVersions: "1.20.4",
|
||||
failWebhook: env.SSS_WEBHOOK,
|
||||
publishWebhooks: "${env.SSS_WEBHOOK}|${env.FDD_WH}"
|
||||
|
||||
|
Reference in New Issue
Block a user