Fixing nexus upload issue
This commit is contained in:
parent
7e44a22501
commit
70a03267b6
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -35,10 +35,10 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
withGradle {
|
withGradle {
|
||||||
configFileProvider([configFile(fileId: '70cb2022-0bc2-4b25-98a4-e1526dbf2735', variable: 'GRADLE_PROPERTIES')]) {
|
configFileProvider([configFile(fileId: '70cb2022-0bc2-4b25-98a4-e1526dbf2735', variable: 'GRADLE_PROPERTIES')]) {
|
||||||
//sh './gradlew ${gradleParams} publishToMavenLocal'
|
sh './gradlew ${gradleParams} publishMavenJavaPublicationToMavenLocal'
|
||||||
|
|
||||||
sh './gradlew ${gradleParams} -Prelease -PcustomProperties=${GRADLE_PROPERTIES} ' +
|
sh './gradlew ${gradleParams} -Prelease -PcustomProperties=${GRADLE_PROPERTIES} ' +
|
||||||
'publishToSonatype ' +
|
'publishMavenJavaPublicationToSonatypeRepository' +
|
||||||
'closeSonatypeStagingRepository ' +
|
'closeSonatypeStagingRepository ' +
|
||||||
//'releaseSonatypeStagingRepository ' +
|
//'releaseSonatypeStagingRepository ' +
|
||||||
''
|
''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue