Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ee4j-build] Assistance with Nexus staging ids?

Usually that means that the userid being used for the job does not have the correct permissions. I don’t have access to the jobs to look at the configuration. Is it similar to this one on the stable-apis project?

https://jenkins.eclipse.org/jakartaee-stable/job/enterprise-deployment-spec-api-release/configure

I would create a bug in eclipse with this error and indicate what user you are trying to run the job as. They can check your config and may need to create an issue with Sonatype.

On Aug 22, 2019, at 7:33 AM, Kevin Sutter <kwsutter@xxxxxxxxx> wrote:

Hi,
I'm having an issue with the jakartaee-api staging builds on jenkins:

The build works just fine and produces the necessary artifacts.  But, the interaction with ossrh is having a hiccup.  The complete log is here (https://jenkins.eclipse.org/jakartaee-platform/job/release/3/consoleText), but here's the interesting part is towards the end:
[INFO] --- nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) @ jakartaee-api ---
[INFO] Performing local staging (local stagingDirectory="/home/jenkins/workspace/release/target/nexus-staging/staging")...
[INFO]  + Using server credentials "ossrh" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.14-01 and edition "Professional"
[INFO]  * Using staging profile ID "6a985159f03a20" (matched by Nexus).
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/jakartaee-api-8.0.0.jar to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0.jar
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/pom.xml to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0.pom
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/jakartaee-api-8.0.0-sources.jar to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0-sources.jar
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/jakartaee-api-8.0.0-javadoc.jar to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0-javadoc.jar
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/jakartaee-api-8.0.0.jar.asc to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0.jar.asc
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/jakartaee-api-8.0.0.pom.asc to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0.pom.asc
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/jakartaee-api-8.0.0-sources.jar.asc to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0-sources.jar.asc
[INFO] Installing /home/jenkins/workspace/release/jakartaee-api/target/jakartaee-api-8.0.0-javadoc.jar.asc to /home/jenkins/workspace/release/target/nexus-staging/staging/6a985159f03a20/jakarta/platform/jakartaee-api/8.0.0/jakartaee-api-8.0.0-javadoc.jar.asc
[INFO] Performing remote staging...
[INFO] 
[INFO]  * Remote staging into staging profile ID "6a985159f03a20"
[ERROR] Remote staging finished with a failure: 403 - Forbidden
[ERROR] 
[ERROR] Possible causes of 403 Forbidden:
[ERROR]  * you have no permissions to stage against profile with ID "6a985159f03a20"? Get to Nexus admin...
There are references to these staging profile ids and staging repo ids in the log...  I'm not familiar with these.  The other release builds that we have been performing have not had this type of properties or logging. 

Any ideas?  Is this an issue with our script?  Or, Eclipse WebMaster?  Or, Nexus?  Or, something else?

Thanks!
Kevin



_______________________________________________
ee4j-build mailing list
ee4j-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ee4j-build


Back to the top