Details
-
Type:
Publishing Support
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Labels:
-
Group Id:null
-
Publishing Hostname:oss.sonatype.org
-
Modify publishing permissions?:No
Description
Hi I got the following error when the build tries to close the staging repository :
09:33:16.990 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > 400: Bad Request, body: [errors:[[id:*, msg:Cannot find a matching staging profile]]]**
Here is my config :
nexusStaging
{ serverUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" username = findProperty('ossrhUserName') ?: System.getenv('ossrhUserName') password = findProperty('ossrhPassword') ?: System.getenv('ossrhPassword') packageGroup = "fr.pc-scol.printer" }In nexus, I ve a profile named fr.pc-scol with repo target fr.pc-scol
Please can you help me to understand ?