You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Jenkinsfile
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -78,12 +78,8 @@ pipeline {
78
78
googlechatnotification url: 'id:gchat_java',
79
79
message: "*Publishing* ${currentBuild.fullDisplayName} to Central...\n${env.BUILD_URL}"
80
80
81
-
// Step 1: upload files to staging repository.
82
81
// Note: supply internal repo as tests use native dependencies that might not be published, yet.
83
-
sh "./gradlew $gradleArgs$internalRepoArgs$uploadRepoArgsCentral publishMavenJavaPublicationToSonatypeRepository"
84
-
85
-
// Step 2: close and release staging repository.
86
-
sh "./gradlew $gradleArgs$uploadRepoArgsCentral closeAndReleaseRepository"
82
+
sh "./gradlew $gradleArgs$internalRepoArgs$uploadRepoArgsCentral publishMavenJavaPublicationToSonatypeRepository closeAndReleaseStagingRepository"
87
83
88
84
googlechatnotification url: 'id:gchat_java',
89
85
message: "Published ${currentBuild.fullDisplayName} successfully to Central - check https://repo1.maven.org/maven2/io/objectbox/ in a few minutes.\n${env.BUILD_URL}"
0 commit comments