Do curseforge task earlier

This commit is contained in:
Adubbz 2019-05-25 13:53:12 +10:00
parent 2811e8f34e
commit f6423c90bb

3
Jenkinsfile vendored
View file

@ -51,9 +51,8 @@ pipeline {
CURSE_API_KEY = credentials('curse-api-key')
}
steps {
sh './gradlew ${GRADLE_ARGS} :uploadArchives -PforgeMavenUsername=${FORGE_MAVEN_USR} -PforgeMavenPassword=${FORGE_MAVEN_PSW} -PcurseApiKey=${CURSE_API_KEY}'
sh './gradlew ${GRADLE_ARGS} :uploadArchives curseforge -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'
}
}
}