Skip to content

Commit 7a27a6e

Browse files
committed
Merge branch 'main' into 1.19
2 parents 8743fbd + a223074 commit 7a27a6e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Jenkinsfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ pipeline {
4949
when {
5050
expression { return params.PUBLISH_GITHUB }
5151
}
52+
environment {
53+
GITHUB_TOKEN = credentials("github-release-pat")
54+
GITHUB_REPOSITORY = "object-Object/HexDebug"
55+
GITHUB_SHA = "${env.GIT_COMMIT}"
56+
}
5257
steps {
5358
sh "./gradlew publishGithub"
5459
}
@@ -57,6 +62,9 @@ pipeline {
5762
when {
5863
expression { return params.PUBLISH_CURSEFORGE }
5964
}
65+
environment {
66+
CURSEFORGE_TOKEN = credentials("curseforge-token")
67+
}
6068
steps {
6169
sh "./gradlew publishCurseforge"
6270
}
@@ -65,6 +73,9 @@ pipeline {
6573
when {
6674
expression { return params.PUBLISH_MODRINTH }
6775
}
76+
environment {
77+
MODRINTH_TOKEN = credentials("modrinth-pat")
78+
}
6879
steps {
6980
sh "./gradlew publishModrinth"
7081
}

0 commit comments

Comments
 (0)