[NO-ORBIT] Unified Porting Branch
This commit is contained in:
29
patches/1.20.4/.jenkins/Jenkinsfile.deploy.patch
Normal file
29
patches/1.20.4/.jenkins/Jenkinsfile.deploy.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
--- a/.jenkins/Jenkinsfile.deploy
|
||||
+++ b/.jenkins/Jenkinsfile.deploy
|
||||
@@ -1,7 +1,7 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
- image "registry.firstdark.dev/java21:latest"
|
||||
+ image "registry.firstdark.dev/java17:latest"
|
||||
alwaysPull true
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,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})"
|
||||
@@ -39,7 +39,7 @@
|
||||
deleteDir()
|
||||
|
||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||
- title: "CraterLib Port Deploy #${BUILD_NUMBER}",
|
||||
+ title: "CraterLib 1.20.4 Deploy #${BUILD_NUMBER}",
|
||||
link: env.BUILD_URL,
|
||||
result: currentBuild.currentResult,
|
||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})\nStatus: ${currentBuild.currentResult}"
|
41
patches/1.20.4/.jenkins/Jenkinsfile.snapshot.patch
Normal file
41
patches/1.20.4/.jenkins/Jenkinsfile.snapshot.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
--- a/.jenkins/Jenkinsfile.snapshot
|
||||
+++ b/.jenkins/Jenkinsfile.snapshot
|
||||
@@ -1,10 +1,11 @@
|
||||
def projectName = "CraterLib";
|
||||
def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae593e56eba7885743bb44.png";
|
||||
+def relType = "snapshot"
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
- image "registry.firstdark.dev/java21:latest"
|
||||
+ image "registry.firstdark.dev/java17:latest"
|
||||
alwaysPull true
|
||||
}
|
||||
}
|
||||
@@ -29,14 +30,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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,7 +53,7 @@
|
||||
projectName: "${projectName}",
|
||||
projectIcon: "${projectIcon}",
|
||||
modLoaders: "forge|neoforge|fabric|quilt",
|
||||
- minecraftVersions: "1.20.6",
|
||||
+ minecraftVersions: "1.20.4",
|
||||
failWebhook: env.SSS_WEBHOOK,
|
||||
publishWebhooks: "${env.SSS_WEBHOOK}|${env.FDD_WH}"
|
||||
|
Reference in New Issue
Block a user