Please see https://www.jenkins.io/doc/developer/publishing/releasing/#the-upload-to-the-maven-repository-fails-with-401-unauthorized for possible causes.
See https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-whitesource.yml for who should have upload permissions, and file a PR to add or remove users. Read the entire readme of the repo for more details. On Tue, Sep 1, 2020 at 3:10 PM Anna Rozin < [email protected]> wrote: > Hi Team, > We have a plugin <https://github.com/jenkinsci/whitesource-plugin>in > WhiteSource, we created a fix for the issue that we had and tried to upload > it to the Jenkins center and got the following error (an image is attached): > > "*Failed to transfer file*: > https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/whitesource/20.8.1.15/whitesource-20.8.1.15.hpi. > *Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1*]" > > I do have access to* https://repo.jenkins-ci.org/ > <https://repo.jenkins-ci.org/> *but I think that I don't have admin > permissions to upload to this repo see the attached image " > *permissions-jenkins-ci-repo.PNG*" > > Can you please help me with this? > > Thank you, > Anna Rozin > > > > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/cce35080-626c-45b3-9e8f-335950a38a36n%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/cce35080-626c-45b3-9e8f-335950a38a36n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAMo7PtJJQ6VEJFeOdNjLfr4ax_-_B9E9h6aHb2tgensFFi16zQ%40mail.gmail.com.
