Hello,

I was trying to perform a release as documented on 
https://www.jenkins.io/doc/developer/publishing/releasing/ and I ran 
through a 401 - Unauthorized problem during the maven deploy.

First, I tried on version 1.0, the pom file was successfully deployed to 
the artifactory, whereas the hpi file didn't make it, returning 401. 

I found it strange since I was able to upload the pom file, I tried a 
couple of times more until I got this text from a member of the jenkins 
community who advised me to move to the next version, because I did not 
have overwrite/delete permissions on the artifactory instance.

I then moved to the next version 1.1 and 1.2, but faced the same issue. I 
finally managed to upload the artifacts on version 1.3 using curl and 
sending the API key, instead of the encrypted password specified on my 
maven settings.

E.g.: curl -X PUT -k -H "X-JFrog-Art-Api:" -T 
"ca-mat-performance-benchmarking-by-broadcom.hpi" 
"https://repo.jenkins-ci.org/releases/com/ca/broadcom/plugins/ca-mat-performance-benchmarking-by-broadcom/1.3/ca-mat-performance-benchmarking-by-broadcom-1.3.hpi

So, I have a couple of questions:

1. Is all the necessary files of version 1.3 successfully upload? Do I need 
to upload something else?
https://repo.jenkins-ci.org/releases/com/ca/broadcom/plugins/ca-mat-performance-benchmarking-by-broadcom/1.3/

2. If so, when is the plugin going to be officially released and available 
to be installed on Manage Plugins?

3. Do I have to do something on the other releases that did not succeed?

I am attaching the logs from my maven execution for your reference.

Let me know if you need further information.

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9415c7c1-e0d4-4092-a76d-9a2abe57a265n%40googlegroups.com.

Reply via email to