It would be a good idea to include the password when trying to upload to maven...

This commit is contained in:
Adubbz 2019-05-04 15:44:30 +10:00
parent 9f528f4440
commit fd3a0e46b0
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -51,7 +51,7 @@ pipeline {
}
steps {
sh './gradlew ${GRADLE_ARGS} :uploadArchives -PforgeMavenUsername=${FORGE_MAVEN_USR} -PforgeMavenPassword=${FORGE_MAVEN_PSW}'
sh 'curl --user ${FORGE_MAVEN_USR} http://files.minecraftforge.net/maven/manage/promote/latest/com.github.glitchfiend.biomesoplenty.BiomesOPlenty/${MYVERSION}'
sh 'curl --user ${FORGE_MAVEN_USR}:${FORGE_MAVEN_PSW} http://files.minecraftforge.net/maven/manage/promote/latest/com.github.glitchfiend.biomesoplenty.BiomesOPlenty/${MYVERSION}'
}
}
}