p4sa plugin release 403 error

28 views
Skip to first unread message

Michael Baron

unread,
Jul 2, 2025, 6:44:22 AMJul 2
to Jenkins Developers

Hi All,

I’m trying to run the release on the plugin: https://github.com/jenkinsci/p4sa-plugin, with the command: “mvn release:prepare release:perform”.

I’ve run the steps in:  https://www.jenkins.io/doc/developer/publishing/releasing-manually and get:

“[INFO] Working directory: /home/mbaron/Documents/release/p4sa-plugin

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  51.838 s

[INFO] Finished at: 2025-07-01T15:37:40+01:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:3.1.1:prepare (default-cli) on project p4sa: Unable to commit files

[ERROR] Provider message:

[ERROR] The git-push command failed.

[ERROR] Command output:

[ERROR] remote: Permission to jenkinsci/p4sa-plugin.git denied to michael-baron.

[ERROR] fatal: unable to access 'https://github.com/jenkinsci/p4sa-plugin/': The requested URL returned error: 403”

The main thing I’m unsure about is the ‘path’ in this reference “You don’t have permission to upload to the specified path ... Check that the path you’re allowed to upload to matches the actual upload attempt (i.e. no typos).”

I see in the permissions repo: https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-p4sa.yml the plugin has the path "io/jenkins/plugins/p4sa", is this what is being referred too?

Best Regards,

Michael

Adrien Lecharpentier

unread,
Jul 2, 2025, 6:53:36 AMJul 2
to Jenkins Developers
Hi, 

RPU is managing the permissions on artifactory, not GitHub. The path you see is the group id of sort of the plugin. 

Have you try to push commit in the repository without maven?

On GitHub, please make sure you are part of the developer team (can be found on Jenkins on organisation). If not, open an helpdesk ticket (repository of the same name in jenkins-infra organisation).

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-dev/656f918a-b5e3-4752-9463-90eeb727670bn%40googlegroups.com.

Michael Baron

unread,
Jul 7, 2025, 8:19:15 AMJul 7
to Jenkins Developers
Hi,

resolved. I was using a PAT that only had permissions to my repo's and not the jenkins owned plugin repo.

Cheers,

Michael 

Reply all
Reply to author
Forward
0 new messages