Fixing nexus upload issue
This commit is contained in:
parent
6f916edc20
commit
7e44a22501
1 changed files with 4 additions and 3 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
|
@ -35,12 +35,13 @@ 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} publishToMavenLocal'
|
||||||
|
|
||||||
sh './gradlew ${gradleParams} -Prelease -PcustomProperties=${GRADLE_PROPERTIES} ' +
|
sh './gradlew ${gradleParams} -Prelease -PcustomProperties=${GRADLE_PROPERTIES} ' +
|
||||||
'publishToSonatype ' +
|
'publishToSonatype ' +
|
||||||
//'closeAndReleaseSonatypeStagingRepository'
|
'closeSonatypeStagingRepository ' +
|
||||||
'closeSonatypeStagingRepository'
|
//'releaseSonatypeStagingRepository ' +
|
||||||
|
''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue