Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm able to publish jobs like "Release" but unable to publish jobs like "Snapshot" in my Nexus Artifact Repository.
When I try to publish like "Snapshot" it returns the attached error message.
Anyone can help me?
I'm using Talend 7.3.1 and Nexus 3.19.1-01
Thx
Hello,
Are you using any custom component in your jobs? Uploaded to nexus custom-libraries folder?
Here exists a jira issue: https://jira.talendforge.org/browse/TUP-26212
Let us know if it is what you are looking for.
Sabrina
Hi Sabrina,
No, I want to publish a test job without custom components.
Thx
You may try increasing the timeout setting on your nexus. Go to capabilities/ui settings/settings on your Nexus and trying pushing up the 'Standard request timeout'.
One other important reason I could think of is, the user you are using to Publish to Nexus may be missing the 'nx-repository-admin-maven2-snapshots-*' privilege. Go to Nexus/Security/Roles and check if the user has this privilege assigned assigned. I am sure, your user is missing the privilege
Hi, thank you tnewbie.
I can't increase the 'Standard request timeout', it is fixed at 60 seconds and when I try to increase it, it returns "A database error occurred".
About the user to publish to Nexus, I'm using the "admin" user, which has the role "nx-admin". I also tried to assign the role "talend-custom-libs-admin" to the admin user after adding 'nx-repository-admin-maven2-snapshots-*' privilege to this role. But the result is the same I attatched in my first post.
I still can't publish jobs as snapshot.
I can't think of any other reason why you can't publish a snapshot. If possible please share your nexus user role assignment screen shot
Hi,
I tried adding all the privilleges to the admin user, like attatched screenshot, but same result:
Thx
Hi,
I still feel that you are missing on the roles and privileges. What you are showing me is the userID<--> Role mapping. In addition you can create a role "publish_to_releases_snapshots" and assign the following privileges : nx-repository-admin-maven2-releases-*, nx-repository-admin-maven2-snapshots-* and add that role to your userID