Fixing nexus upload issue

This commit is contained in:
Ziver Koc 2024-09-20 00:31:04 +02:00
parent 9c018ca242
commit 6f916edc20
3 changed files with 19 additions and 17 deletions

5
Jenkinsfile vendored
View file

@ -37,7 +37,10 @@ pipeline {
configFileProvider([configFile(fileId: '70cb2022-0bc2-4b25-98a4-e1526dbf2735', variable: 'GRADLE_PROPERTIES')]) {
sh './gradlew ${gradleParams} publishToMavenLocal'
sh './gradlew ${gradleParams} -Prelease -PcustomProperties=${GRADLE_PROPERTIES} publish'
sh './gradlew ${gradleParams} -Prelease -PcustomProperties=${GRADLE_PROPERTIES} ' +
'publishToSonatype ' +
//'closeAndReleaseSonatypeStagingRepository'
'closeSonatypeStagingRepository'
}
}
}