Actually set the curse api key...
This commit is contained in:
parent
0a1cc9b45b
commit
9f067691c3
2 changed files with 5 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -48,9 +48,10 @@ pipeline {
|
|||
environment {
|
||||
FORGE_MAVEN_USR = credentials('forge-maven-user')
|
||||
FORGE_MAVEN_PSW = credentials('forge-maven-password')
|
||||
CURSE_API_KEY = credentials('curse-api-key')
|
||||
}
|
||||
steps {
|
||||
sh './gradlew ${GRADLE_ARGS} :uploadArchives -PforgeMavenUsername=${FORGE_MAVEN_USR} -PforgeMavenPassword=${FORGE_MAVEN_PSW}'
|
||||
sh './gradlew ${GRADLE_ARGS} :uploadArchives -PforgeMavenUsername=${FORGE_MAVEN_USR} -PforgeMavenPassword=${FORGE_MAVEN_PSW} -PcurseApiKey=${CURSE_API_KEY}'
|
||||
sh 'curl --user ${FORGE_MAVEN_USR}:${FORGE_MAVEN_PSW} http://files.minecraftforge.net/maven/manage/promote/latest/com.github.glitchfiend.biomesoplenty.BiomesOPlenty/${MYVERSION}'
|
||||
sh './gradlew curseforge'
|
||||
}
|
||||
|
|
|
@ -101,6 +101,9 @@ curseforge {
|
|||
mainArtifact(jar) {
|
||||
displayName = "Biomes O' Plenty ${version}"
|
||||
}
|
||||
addArtifact sourcesJar
|
||||
addArtifact deobfJar
|
||||
addArtifact apiJar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue