-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Main build gradle:
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.adaptc.gradle:nexus-workflow:0.6'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
ext."oss-releases.username" = System.getenv('OSSRH_USER_NAME')
ext."oss-releases.password" = System.getenv('OSSRH_PASSWORD')
ext."oss-releases.url" = "https://oss.sonatype.org/index.html#stagingRepositories"
apply plugin: 'nexus-workflow'
Running from command line (Jenkins):
sleep 60s
bash gradlew nexusStagingRelease
sleep 60s
bash gradlew nexusStagingRelease
output of first execution:
13:28:43 :nexusStagingRelease
13:28:43 Determining all open repositories
13:28:45 Closing 1 open repositories
13:28:49 1 repositories closed
13:28:49 Waiting 30 seconds until the closing is done
13:29:24 No closed repositories to promote (release)
output of second execution:
13:30:27 :nexusStagingRelease
13:30:27 Determining all open repositories
13:30:30 No open repositories to close
13:30:36 Promoting (releasing) 1 closed repositories
13:30:41 1 repositories promoted
13:30:41 Waiting 30 seconds until the promotion is done
13:31:11 Dropping 1 released repositories
13:31:22 1 repositories dropped
I would guess that the repo is dropped before it is released...
can you assist?
Metadata
Metadata
Assignees
Labels
No labels